How to launch EC2 Instance ? How to deploy a webpage on Ec2 Instance?

  • It is public cloud service provider launched in 2006.
  • It provides over 175 services related to compute, storage, networking, CDN(cloud delivery network), ML(Machine learning), IoT(Internet of Things).
  • Services accessible from anywhere, anytime, on a pay as go pricing model.
  • It provides web based management console, CLI and SDK.
  • It provides more functionality than any other CSP(cloud service Provider).
  • It has Fastest pace of innovation.
  • It has more security, scalability, reliability.
  • It provides Scalable computing capacity.
  • you can launch as many or as few virtual servers as you need.
  • configure security and networking.
  • manage storage.
  1. Amazon Machine Image(AMI) :-
  • we can use private key instead of password to securely access our instances.
  • when we try to connect instance via SSH connection so we need to provide private key.
  • In case , we lost private key, we can’t recovered it.
  • It is temporarily storage. once you stop or terminate your instance your data will lost.
  • This storage is physically attached to your instance.
  • It is ideal for information that changes frequently such as caches, buffers, scratch data.
  • It is persistence storage volume by AWS for EC2 instance.
  • It can be mounted as device to your EC2 instance.
  • Data would not lost once your instance will be terminated.
  • File system can be created on these devices or they can be used as drives.
  • It should be used for quickly accessing the data as there a very fast devices.
  • AWS has the concept of a Region, which is a physical location around the world where we cluster data centers. We call each group of logical data centers an Availability Zone.
  • Each AWS Region consists of multiple, isolated, and physically separate AZs within a geographic area.
  • An Availability Zone (AZ) is one or more discrete data centers with redundant power, networking, and connectivity in an AWS Region.
  • An AZ has more than one data centers.
  • you can launch Amazon Ec2 in regions and AZs of your choice from anywhere.
  • It allows to configure security for Amazon Ec2 , who can access content from it or who can’t .
  • It allow you to define ports , protocols and IP ranges that can reach out to your instance.
  • To control incoming traffic inbound rules and controls outbound traffic outbound rules are there.
  • You can Modify security groups .
  • It provides static public IPv4 addresses for dynamic cloud computing.
  • The IPs can be attached to EC2 instances.
  • Elastic IP can be quickly remaps to new instance , if your current Ec2 Instance fails.
  • Its metadata that you can define your Amazon EC2 resources.
  • It helps you to define in which Amazon VPC you want to launch your instance.

Creating an Ec2 Instance and deploying a web page on Apache web server : -

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store