Question: Difference between Amazon ec2 and AWS Elastic Beanstalk?
Amazon ec2EC2 is Amazon's service that allows you to create a server (AWS calls these instances) in the AWS cloud.
Elastic Beanstalk: Elastic Beanstalk is one layer of abstraction away from the EC2 layer.
Elastic Beanstalk number will have number of EC2 instances, an optional database, as well as a few other AWS components such as a Elastic Load Balancer, Auto-Scaling Group, Security Group.
Question: How can we clone of EC2 Instance?
You can make an AMI of an existing instance, and then launch number of instances using that AMI.
Question: How to copy files OR folder From one bucket to another?
aws s3 cp s3://source_folder/ s3://destination_folder/
Question: How to rename file present in Amazon S3?
aws s3 cp s3://source_folder/image.png s3://source_folder/newName.png
Question: What is Burstable Performance Instances?
AWS EC2 has 2 different type of instances.
A) Fixed Performance Instances(e.g. M3, C3 etc)
B) Burstable Performance Instances (e.g. T2).
Fixed Performance Instances provides a consistent CPU performance whereas Burstable Performance Instances provide a baseline CPU performance.
When the workload increased in Burstable Performance Instances, Burstable Performance Instances have the ability to burst, i.e. increase the CPU performance.
Question: What is CPU Credit Balance in EC2?
CPU Credit regulates the amount CPU burst of an instance.
CPU Credit Balance is simply the amount of "CPU Credit available" in your account at any moment.
Question: How to rename AWS S3 Bucket name?
You can not rename a bucket name. But you can do following.
1. Create new bucket
2. Copy all items from old bucket to this new bucket.
3. Delete the old bucket.
You can do above with commands also
aws s3 mb s3://[new-bucket] aws s3 sync s3://[old-bucket] s3://[new-bucket] aws s3 rb --force s3://[old-bucket]
Question: How do I increase the EBS volume size of a running instance?
Not possible to increase the size of an Amazon EBS root device storage volume while the Amazon EC2 instance is running.
Question: What is a TTL 0 in CloudFront useful for?
Full form of TTL is Time-To-Live.
When you set the TTL for a particular origin to 0, CloudFront will still cache the content.
It will then make a GET request with an If-Modified-Since header, thereby giving the origin a chance to signal that CloudFront can continue to use the cached content.
Question: What is difference between a snapshot and AMI?
Full form of AMI is An Amazon Machine Image.
AMI is an encrypted machine image of a specific computer running an operating system that is configured and that it can contain a set of applications and services for accomplishing a specific purpose.
An AMI contains all the information necessary to start up and run the software in the image.
You can take a snapshot of an EBS boot volume and turn it into an EBS boot AMI by registering it with the appropriate metadata.
Question: How much Cost of storing AMI?
Charged for the storage is very small(Charge for only storage), there are no charges for creating an AMI in AWS Account.
Question: How to upgrade AWS CLI to the latest version?
pip install --upgrade awscli
OR
pip3 install --upgrade awscli
Question: What are the limit to objects in a S3 bucket?
Write, read, and delete objects containing from 0 byte to 5 terabytes.
The number of objects you can store is unlimited.
Question: What is the maximum length of a filename in S3?
These names are the object keys. The name for a key is a sequence of Unicode characters whose UTF-8 encoding is at most 1024 bytes long.
Question: What is Amazon Polly?
Amazon Polly is a service that turns text into speech.
With use of this service you can create applications like talk, and build entirely new categories of speech-enabled products.
Amazon Polly is a Text-to-Speech service that uses advanced deep learning technologies to synthesize speech that sounds like a human voice.
Question: What is VPC Peering?
Amazon Virtual Private Cloud (Amazon VPC) enables you to launch Amazon Web Services (AWS) resources into a virtual network that you've defined.
A VPC peering connection is a networking connection between two VPCs that enables you to route traffic between them using private IPv4 addresses or IPv6 addresses.