EzDevInfo.com

amazon-web-services interview questions

Top amazon-web-services frequently asked interview questions

Can you attach Amazon EBS to multiple instances?

We currently use multiple webservers accessing one mysql server and fileserver. Looking at moving to the cloud, can I use this same setup and attach the EBS to multiple machine instances or what's another solution?


Source: (StackOverflow)

Is it possible to change the availability zone of an existing EC2 t1.micro instance? [closed]

Sometimes when trying to launch my t1.micro EC2 instance, it cannot be provisioned and Amazon recommends trying a different availability zone. Is it possible to change this for an existing instance?


Source: (StackOverflow)

Advertisements

How to safely upgrade an Amazon EC2 instance from t1.micro to large? [closed]

I have an Amazon EC2 micro instance (t1.micro). I want to upgrade this instance to large. This is our production environment, so what is the best and risk-free way to do this?

Is there any step by step guide to do this?


Source: (StackOverflow)

When to use Amazon Cloudfront or S3

Are there use cases that lend themselves better to Amazon cloudfront over s3 or the other way around? I'm trying to understand the difference between the 2 through examples.


Source: (StackOverflow)

Force CloudFront distribution/file update

I'm using Amazon's CloudFront to serve static files of my web apps.

Is there no way to tell a cloudfront distribution that it needs to refresh it's file or point out a single file that should be refreshed?

Amazon recommend that you version your files like logo_1.gif, logo_2.gif and so on as a workaround for this problem but that seems like a pretty stupid solution. Is there absolutely no other way?


Source: (StackOverflow)

EC2 Instance Cloning

Is it possible to clone a EC2 instance data and all?


Source: (StackOverflow)

Amazon EC2: how to convert an existing PV AMI to HVM

Question:

How should I use the new AWS EC2 classes (r3, i2) with my existing AMI without recreating the whole system setup?

The new EC2 classes support only HVM based virtualization but I have only PVM AMI images.


Source: (StackOverflow)

What happens when I reboot an EC2 instance?

When I reboot an EC2 instance, do I get the initial image again, or is the state of the hard disk before the reboot kept?

And what happens with billing, does the hour start again, or do I continue with the fraction of the hour I was in when I rebooted?


Source: (StackOverflow)

Benefits of EBS vs. instance-store (and vice-versa)

I'm unclear as to what benefits I get from EBS vs. instance-store for my instances on Amazon EC2. If anything, it seems that EBS is way more useful (stop, start, persist + better speed) at relatively little difference in cost...? Also, is there any metric as to whether more people are using EBS now that it's available, considering it is still relatively new?


Source: (StackOverflow)

Why do people use Heroku when AWS is present? What's distinguishing about Heroku

I'm a beginner RoR programmer who's planning to deploy my app using Heroku. Word from my other advisor friends says that Heroku is really easy, good to use. The only problem is that I still have no idea what Heroku does..

I've looked at their website and in a nutshell, what Heroku does is help with scaling but... why does that even matter? How does Heroku help with:

  1. Speed - My research implied that deploying AWS on the US East Coast would be the fastest if i am targeting a US/Asia based audience

  2. Security - How secure are they?

  3. Scaling - How does it actually work?

  4. Cost efficiency - There's something like a dyno that makes it easy to scale.

  5. How do they fare against their competitors? For example, Engine Yard and bluebox?

Please use layman English terms to explain... I'm a beginner programmer. Thank you.


Source: (StackOverflow)

Connect to Amazon EC2 file directory using Filezilla and SFTP

I have created an AWS EC2 Instance and I want to be able to upload files to the server directory using FileZilla in the simplest and most straightforward fashion possible.


Source: (StackOverflow)

Downloading an entire S3 bucket?

I noticed that there doesnt seem to be an option to download an entire S3 bucket from the AWS Management Console.

Is there an easy way to grab everything in one of my buckets? I was thinking about making the root folder public, using wget to grab it all, and then making it private again but I dont know if there's an easier way.


Source: (StackOverflow)

SSH to Elastic Beanstalk instance

I just signed up for Amazon's new Elastic Beanstalk offering and loving it. What I can't figure out is how to SSH to a Beanstalk instance. I don't have a private key because Beanstalk generated the instance on my behalf. Ideas?

Thanks, Benno


Source: (StackOverflow)

How do you add swap to an EC2 instance?

I'm currently running an ec2 micro instance and i've been finding that the instance occasionally runs out of memory.

Other than using a larger instance size, what else can be done?


Source: (StackOverflow)

Permission denied (publickey) when SSH Access to Amazon EC2 instance

I want to use my Amazon ec2 instance but faced the following error:

Permission denied (publickey).

I have created my key pair and downloaded .pem file.

Given:

chmod  600 pem file.

Then, this command

 ssh -i /home/kashif/serverkey.pem  ubuntu@ec2-54-227-242-179.compute-1.amazonaws.com

But have this error:

          Permission denied (publickey)

Also, how can I connect with filezilla to upload/download files?


Source: (StackOverflow)