- Today lets undersatnd about next service of AWS which is one of the mostly used service provided by AWS cloud.
- i.e. Amazon EC2
- Task: search about Amazon EC2 from amazon skillbuilder and other sources write notes about what you understand by Amazon EC2
- and some Keyconcepts EC2, elastic ,virtualization ,VCPU,Security groups,instance,Availability zones etc.
Downtime of AWS is almost 0 that’s why its in demand
- Elastic compute cloud
- Elastic:- elasticity ability i.e. scalability
- EC2 is a web service that provides resizable compute capacity in cloud
- mainly provides SERVERS,PLATFORMS and resizable Capacity
- reduces the time required to obtain and boot new server instances (server/computer) to minutes
- allowing you to quickly scale capacity ,both up and down as per requirement
mumbai regions max memory Ec2:- 12288 GiB
max memory globaly Ec2:- 26TB
- On demand : user that want low cost and flexibility of EC2 without any upfront payment or long hourly price is calculated mostly used when we don’t know the idea about configuration of required server applications with short term,spiky or upredictable workloads
- Dedicated Host: Useful for regulatory requirement that may not support multi-tenant virtualization . Great for licensing which does not support multi-tenancy or cloud deployment hourly payments we take dedicated physical server for ourselves i.e. dedicated host
- Reserved: Applications with steady state Up-front payment option can lead to 30-70% low cost
- Spot : Applcations that have flexible start and end times. this is actual purane server type it allocated using bidding (i.e boli lavne) its prices are varying in monthly span if price get fluctuated we should pay the new price otherwise it may get deleted testing applications mainly done here because ther eis no guarantee of 24/7 on
to buy a server 2 option : physical or virtual machine
but if we reserved and did upfront payment it costs a low
each type has its embedded name i
- T2 Family:
- t2.nano:- example: 0.5 GB RAM | 1vcpu
- t2.micro:-example: 1 GB RAM | 1vcpu/t3.micro=2vcpu ?free tier account has 720 hours of this types
- t2.medium:-example: 4 GB RAM | 2vcpu
- t2.large:- example: 8 GB RAM | 2vcpu
- t2.xlarge:-example: 16 GB RAM | 4vcpu
- t2.2xlarge:-example: 32 GB RAM | 4vcpu
Security groups:- has protocols ,,it is nothing but a firewall specifies which protocolos will be allowed or not
Inbound rules:- incoming protocol services or URLS
Outbound rules:-outgoing services or protocols.
- 1 instance should have at least 1 security group
- and 1 Security group can be applied to multiple instances
- Every instance will have Security group
- it must be applied
- we have to add protocols to security group to allow protocols as inbound rule
Internet access is provided with high speed 5G speed on EC2 by amazon