Top AWS Cloud Architecture Interview Questions
- What is Amazon EC2?
- What is Cloud Computing?
- What are the different types of cloud services?
- What is auto-scaling?
- How terminating and stopping an instance are the different processes?
- When there is a need to acquire costs with an EIP?
- What do you know about AMI?
- What are the common types of AMI designs?
What is Amazon EC2?Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. It is designed to make web-scale cloud computing easier for developers. Amazon EC2's simple web service interface allows you to obtain and configure capacity with minimal friction.
Amazon EC2 provides you with simplified elastic web-scale computing so you or your developers can build failure-resistant apps in the cloud within what AWS calls a "true, virtual computing environment."
What is Cloud Computing?Cloud computing is the on-demand delivery of IT resources over the Internet with pay-as-you-go pricing. Instead of buying, owning, and maintaining physical data centers and servers, you can access technology services, such as computing power, storage, and databases, on an as-needed basis from a cloud provider like Amazon Web Services (AWS).
What are the different types of cloud services?Different types of cloud services are:
- Software as a Service (SaaS)
- Data as a Service (DaaS)
- Platform as a Service (PaaS)
- Infrastructure as a Service (IaaS)
What is auto-scaling?Autoscaling, is a method used in cloud computing that dynamically adjusts the amount of computational resources in a server farm - typically measured by the number of active servers automatically based on the load on the farm.
Auto-scaling is a way to automatically scale up or down the number of compute resources that are being allocated to your application based on its needs at any given time. Before cloud computing, it was very difficult to scale a website, let alone figure out a way to automatically scale (autoscale) a server setup.
How terminating and stopping an instance are the different processes?When an instance reaches its scheduled retirement date, it is stopped or terminated by AWS. If your instance root device is an Amazon EBS volume, the instance is stopped, and you can start it again at any time. Instance performs a regular shut down when it is stopped. It then performs transactions. As the entire EBS volumes remain present, it is possible to start the instance anytime again when you want. The best thing is when the instance remains in the stopped state, users do not need to pay for that particular time.
Upon termination, the instance performs a regular shutdown. After this, the Amazon EBS volumes start deleting. You can stop them from deleting simply by setting the "Delete on Termination" to false. Because the instance gets deleted, it is not possible to run it again in the future.