Amazon has various cloud platform for host many type of services and EC2 is one them where it offers host Elastic Computer Cloud which is virtual server running in the cloud which is highly secure, scalable with load balancing.

AWS offers the amazing cloud services where you can setup your work environment instantly with just a few clicks. You need to decide your IT infrastructure need and create the instances and lunch your severs like windows, Linux, database etc within a few minutes with few clicks.
Cost Effective:
Amazon Web Services eliminate the need for your buy physical hardware to set up your business environment that is also a tedious task which includes planning, approval and budget passing which takes very long time. It also costs a huge amount of money to build a data center and hiring different type of services and engineers to implement the solution and testing.
Also you just need to pay as you use. It means that you are not going to even a single penny extra and just as per your usage. AWS EC2 offers the flexibility to run your environment as long as you want and shut is off when not in production hours which actually minimizes your IT infrastructure cost a lot.
What are EC2 Services:
- Platform to run Virtual Machines in AWS cloud (Instances)
- Data storage in cloud (Elastic Block Store)
- High Security Network (Network and Security)
- Sharing the performance load among machines (Load Balancing)
- Scaling the IT infrustruction with auto scaling feature (Auto Scaling Group)
- EC2 Image Builder (AMIs)
Most of the Amazon Web Services come as free trials for a year which is indeed enough time to build your test infrastructure and analyze how it is going to perform for you. Lets check how to build and launch a virtual machine.
Instances
Instances
This is a great way to find out your configured servers. It is a console which gives a clear view of all the virtual machine which are configured in the AWS platform.
Instance Types
Type of instances offers you the options to choose to build virtual machines as per your requirement. You have immense amount of preconfigured option and customizable options as well such as Nano, micro, small, medium, large, xlarge etc. Each of the instance type has its own configuration and specification being offered with of course price.
Elastic Block Storage
Elastic Block Storage offers the data storage with volume type on SSD storage with optimized performance to suite your need. You can create a volume as your choice:

It also offers a snapshot option for all the volumes or for any specific volume which may have some critical data and needs backup. Snapshot can be created for a volume and instances both.

Data Life Manager
Data Lifecycle Manager enables you to automate the creation, retention, copy and deletion of EBS snapshots and EBS-backed AMIs. It also enables you to automate cross-account snapshot copy actions for snapshots that are shared with you.

Network Security Group
A security group is kind of virtual firewall to control and protect the network traffic for the instance running in the aws cloud platform. It also has the option to deploy and enable one or more security groups with modifying security rules at any time. It is also necessary to define a security groups and security rules before launching any instance.
Elastic IP address
Elastic IP address allocation allows you to choose an IPv4 IP address or choose from global IP address from AWS global accelerator. One Ip address form AWS to an instance is free.

Elastic Load Balancing
Load Balancing option provides three type of load balancing
Application Load Balancer – Choose an Application Load Balancer when you need a flexible feature set for your web applications with HTTP and HTTPS traffic.
Network Load Balancer – Choose a Network Load Balancer when you need ultra-high performance, TLS offloading at scale, centralized certificate deployment, support for UDP, and static IP addresses for your application.
Classic Load Balancer – Choose a Classic Load Balancer when you have an existing application running in the EC2-Classic network.
Auto Scaling Group
AWS auto scaling the feature of group all the instances together which are of different types and capacity to share the load among them. This is also considered a kind of logical unit combining all maximum and minimum capacity instances together.
It also helps in identifying and terminating a faulty instance and launching a new instance to ensure a continuous stable performance. However we need to ensure that all our instance have optimal capacity to handle the data traffic.
Also check – How to replace a failed disk in 3par storage?
………………………………………….