Amazon EC2 - US East vs US West... Does it matter? [closed] - amazon-web-services

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
My question is not so much related to Amazon's specific differences between these two regions, but more about how the distance could affect applications' performance.
I have an application that will only be accessed in by US West users (I know this for sure). However, my EC2 instances are located in US East... Should I worry about that?
Will my applications performance really be that affected?
Retrieving web pages vs streaming media, does this make a big difference?

From personal experience it doesn't make a whole lot of difference. But if all your users are in the Western US I would still make my servers run in the us-west-1 or us-west-2 regions. There's probably a slight lower latency, so it also depends on the latency requirements of your customers. For example we have a strict 70ms latency requirement from our customers so we want to have our server located close to our customers.
Furthermore, if you want higher performance you might want to consider upgrading the sizes of your instances (EC2), databases(RDS), etc.
If you want to migrate your app from us-east-1 to any of the us-west regions you can create AMI's for your instances for example and then copy them over using the AWS AMI Copy functionality.

Related

How to reduce the overall data transfer costs to my application in AWS? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 days ago.
Improve this question
I have created application that will handle batch processing of large amount of data. The input data will be held in Amazon S3, and the output data will be stored in different S3 bucket. For processing, the application will transfer the data over the network between multiple Amazon EC2 instances.
I am expecting the best way to reduce the cost to my application.
If you Place all the EC2 instances in the same Availability Zone. So that you can reduce the cost to your application.

Should I separate customers into separate VPCs? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Use Case: I will have a separate ec2 instance for each client - all of the instances will host identical web apps and db (at the moment, I'm keeping the db in the ec2 instance and not breaking it out).
If I am trying to provide security for each client, would you recommend creating a separate VPC for each ec2 instance, even if they are in the same region? Or would that be overkill?
Thanks! So far, I have not been able to find this on multiple google searches.
See Isolating Resources in a Multi-Tenant Environment from AWS.

How to save yourself from AWS charges? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I just started using Amazon web services, and I am using free tier version.
Due to some bitter experiences in past, I made budget to control price AWS charge me if I by mistake go beyond free tier limit.
I budgeted this to $1, so if the price goes beyond that, I get an email.
Is there any other filter/budget conditions I should implement so that AWS will not charge me anything? I am using AWS just for learning purpose.
Unfortunately, it is not possible to set a hard spending limit. This is discussed also in this question and in this one.
However AWS offers various other tools, such as budgets, for managing your costs.
Extensive documentation about cost management can be found at the following resource:
https://aws.amazon.com/aws-cost-management/
There is also a page about specifically how to avoid charges with AWS Free Tier: https://aws.amazon.com/premiumsupport/knowledge-center/free-tier-charges/
In general, I regularly get the feeling people overestimate the capabilities of the AWS free tier version. For any kind of production environment or meaningful computation you should expect actual charges to occur.
If it is just for learning purposes, make yourself familiar with what exactly the AWS Free Tier allows. Other than that, your budget is already a good way of monitoring your cost limit, also take a frequent look at your AWS Billing Dashboard.

Accidentally deleted Amazon Linux EC2 home directory, my whole site blew up. How to get back up and running? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I was using sudo rm -rf to delete some folders, and accidentally deleted the /Users/ec2-user home directory. I had my EC2 and AWS Route 53 running my site, http://thinklikegeek.com. Now, it just disappeared. I have all the files for my website, but don't know how to get it back up and running well. It just says "No Data Received" if I visit my website. Help!
This isn't an answer for how to get your files back. This answer is how to make this be no big deal the next time it inevitably happens.
You should treat EC2 instances as being disposable. That means that you fully expect an EC2 instance to go down, so you design your application and deployment strategy around that fundamental concept.
Your deployments should be from the latest copy of your source code form source control (e.g., Git, SVN), and should be 100% automated other than kicking off the process.
Next, don't store important data on the instance (unless you keep it on a persistent EBS volume). Keep the data either in S3, on an EBS volume. Enable versioning in S3, take regular snapshots of your EBS volumes.
Since there is a 100% chance of something bad happening to an instance in the future, plan ahead, and make sure you're treating your instances as disposable compute units.
This really has nothing to do with AWS.
I'm not sure why you mentioned Route53 -- it's not lost, you can use the AWS console to control it. (including moving DNS to a new box if needed.)
In theory, there are possible ways of restoring deleted files. But it really depends on your filesystem, and takes an expert because the tools are complex. (Don't create a lot of files in the meantime, or the deleted files will be overwritten).
Your best defense is regular snapshots of your EBS drive. (Write a small shell script.)

Can the way a site is coded affect how much we spend on hosting? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
Our website is an eCommerce store trading in ethically sourced loose diamonds. We do not get much traffic and yet our Amazon bill is huge ($300/month for 1,500 unique visits). Is this normal?
I do know we are daily doing some database pulling twice from another source and that the files are large. Does it make sense to just use regular hosting for this process and then the Amazon one just for our site?
Most of the cost is for Amazon Elastic Compute Cloud. About 20% is for RDS service.
I am wondering if:
(a) our developers have done something which leads to this kind of usage OR
(b) Amazon is just really expensive
IS THERE A PAID FOR SERVICE WHICH WE CAN USE TO ENSURE OUR SITE IS OPTIMISED FOR ITS HOSTING - in terms of cost, usage and speed?
It should probably cost you around 30-50 dollars a month. 300 seems higher than necessary.
for 1500 vistors, you can get away with using an m1.small instance most likely
I'd say check out the AWS trusted advisor service that will tell you about your utilization and where you can optimize your usage, but you can only get that with AWS Business support (100/month). However considering your way over what is expected, it might be worth looking into
Trusted advisor will inform you of quite a few things:
cost optimization
security
fault tolerance
performance
I've generally found it to be one of the most useful additions to my AWS infrastructure.
Additionally if you were to sign up for Business support, not only do you get trusted advisor, but you can ask questions directly to the support staff via chat, email, or phone. Would also be quite useful to help you pinpoint your problem areas.