Q. Explain what is AWS?
A. AWS stands for Amazon Web Service; it is a collection of remote computing services also known as cloud computing platform. This new realm of cloud computing is also known as IaaS or Infrastructure as a Service.
Q. Mention what are the key components of AWS?
A. The key components of AWS are as follows:
⦁ Route 53: A DNS web service
⦁ Simple E-mail Service: It allows sending e-mail using RESTFUL API call or via regular SMTP
⦁ Identity and Access Management: It provides enhanced security and identity management for your AWS account
⦁ Simple Storage Device or (S3): It is a storage device and the most widely used AWS service
⦁ Elastic Compute Cloud (EC2): It provides on-demand computing resources for hosting applications. It is very useful in case of unpredictable workloads
⦁ Elastic Block Store (EBS): It provides persistent storage volumes that attach to EC2 to allow you to persist data past the lifespan of a single EC2
⦁ CloudWatch: To monitor AWS resources, It allows administrators to view and collect key Also, one can set a notification alarm in case of trouble.
Q. Explain what is S3?
A. S3 stands for Simple Storage Service. You can use S3 interface to store and retrieve any amount of data, at any time and from anywhere on the web. For S3, the payment model is “pay as you go”.
Q. Explain what is AMI?
A. AMI stands for Amazon Machine Image. It’s a template that provides the information (an operating system, an application server, and applications) required to launch an instance, which is a copy of the AMI running as a virtual server in the cloud. You can launch instances from as many different AMIs as you need.
Q. Mention what is the relation between an instance and AMI?
A. From a single AMI, you can launch multiple types of instances. An instance type defines the hardware of the host computer used for your instance. Each instance type provides different compute and memory capabilities. Once you launch an instance, it looks like a traditional host, and we can interact with it as we would with any computer.
Q. What does an AMI include?
A. An AMI includes the following things
⦁ A template for the root volume for the instance
⦁ Launch permissions decide which AWS accounts can avail the AMI to launch instances
⦁ A block device mapping that determines the volumes to attach to the instance when it is launched
Q. How can you send a request to Amazon S3?
A. Amazon S3 is a REST service, you can send a request by using the REST API or the AWS SDK wrapper libraries that wrap the underlying Amazon S3 REST API.
Q. What is the Amazon EC2 service?
A. Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable (scalable) computing capacity in the cloud. You can use Amazon EC2 to launch as many virtual servers you need. In Amazon EC2 you can configure security and networking as well as manage storage. Amazon EC2 service also helps in obtaining and configuring capacity using minimal friction
Q. What are the features of the Amazon EC2 service?
A. As the Amazon EC2 service is a cloud service so it has all the cloud features. Amazon EC2 provides the following features:
⦁ The virtual computing environment (known as instances)
⦁ Pre-configured templates for your instances (known as Amazon Machine Images – AMIs)
⦁ Amazon Machine Images (AMIs) is a complete package that you need for your server (including the operating system and additional software)
⦁ Amazon EC2 provides various configurations of CPU, memory, storage and networking capacity for your instances (known as instance type)
⦁ Secure login information for your instances using key pairs (AWS stores the public key and you can store the private key in a secure place)
⦁ Storage volumes of temporary data are deleted when you stop or terminate your instance (known as instance store volumes)
⦁ Amazon EC2 provides persistent storage volumes (using Amazon Elastic Block Store – EBS)
⦁ A firewall that enables you to specify the protocols, ports, and source IP ranges that an reach your instances using security groups
⦁ Static IP addresses for dynamic cloud computing (known as Elastic IP address)
⦁ Amazon EC2 provides metadata (known as tags)
⦁ Amazon EC2 provides virtual networks that are logically isolated from the rest of the AWS cloud, and that you can optionally connect to your own network (known as virtual private clouds – VPCs)
Q. What is the Amazon Machine Image (AMI)?
A. An Amazon Machine Image (AMI) is a template that contains a software configuration (for example, an operating system, an application server, and applications). From an AMI, we launch an instance, which is a copy of the AMI running as a virtual server in the cloud. We can even launch multiple instances of an AMI.
Q. What is the relation between Instance and AMI?
A. We can launch different types of instances from a single AMI. An instance type essentially determines the hardware of the host computer used for your instance. Each instance type offers different compute and memory capabilities.
After we launch an instance, it looks like a traditional host, and we can interact with it as we would do with any computer. We have complete control of our instances; we can use sudo to run commands that require root privileges
Q. Explain storage for Amazon EC2 instance?
A. Amazon EC2 provides many data storage options for your instances. Each option has a unique combination of performance and durability. These storages can be used independently or in combination to suit your requirements.
There are mainly four types of storage provided by AWS
Amazon EBS: Its durable, block-level storage volumes can attach to running Amazon EC2 instance. The Amazon EBS volume persists independently from the running life of an Amazon EC2 instance. After an EBS volume is attached to an instance, you can use it like any other physical hard drive. Amazon EBS encryption feature supports the encryption feature.
Amazon EC2 Instance Store: Storage disk that is attached to the host computer is referred to as instance store. The instance storage provides temporary block-level storage for Amazon EC2 instances. The data on an instance store volume persists only during the life of the associated Amazon EC2 instance; if you stop or terminate an instance, any data on instance store volumes is lost.
Amazon S3: Amazon S3 provides access to reliable and inexpensive data storage infrastructure. It is designed to make web-scale computing easier by enabling you to store and retrieve any amount of data, at any time, from within Amazon EC2 or anywhere on the web.
Adding Storage: Every time you launch an instance from an AMI, a root storage device is created for that instance. The root storage device contains all the information necessary to boot the instance. You can specify storage volumes in addition to the root device volume when you create an AMI or launch an instance using block device mapping.
Q. What is auto-scaling? How does it work?
A. Autoscaling is a feature of AWS which allows you to configure and automatically provision and spin up new instances without the need for your intervention. You do this by setting thresholds and metrics to monitor. When those thresholds are crossed, a new instance of your choosing will be spun up, configured, and rolled into the load balancer pool. Voila, you’ve scaled horizontally without any operator intervention!
No comments:
Post a Comment