Difference between revisions of "Amazon Elastic Compute Cloud (EC2)"

From wikieduonline
Jump to navigation Jump to search
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Amazon [[AWS]] offers different [[wikipedia:Elastic Compute Cloud]] (EC2) instance types<ref>{{Cite web|url=https://aws.amazon.com/ec2/instance-types/?sc_channel=PS&sc_campaign=acquisition_HK&sc_publisher=google&sc_medium=ec2_b&sc_content=sitelink&sc_detail=aws%20ec2&sc_category=ec2&sc_segment=instance_types&sc_matchtype=e&sc_country=HK&s_kwcid=AL!4422!3!154806620787!e!!g!!aws%20ec2&ef_id=WMKCdAAAAFkeBvWy:20171231110522:s|title=Amazon EC2 Instance Types – Amazon Web Services (AWS)|website=Amazon Web Services, Inc.|language=en-US|access-date=2018-02-23}}</ref>, you will have to select the appropriate instance according to your computing demands and prices. AWS price calculator can help you to calculate your costs: https://calculator.s3.amazonaws.com/index.html.
+
Amazon [[AWS]] offers different [[wikipedia:Elastic Compute Cloud]] (EC2) [[Amazon EC2 Instance types|instance types]]<ref>{{Cite web|url=https://aws.amazon.com/ec2/instance-types/?sc_channel=PS&sc_campaign=acquisition_HK&sc_publisher=google&sc_medium=ec2_b&sc_content=sitelink&sc_detail=aws%20ec2&sc_category=ec2&sc_segment=instance_types&sc_matchtype=e&sc_country=HK&s_kwcid=AL!4422!3!154806620787!e!!g!!aws%20ec2&ef_id=WMKCdAAAAFkeBvWy:20171231110522:s|title=Amazon EC2 Instance Types – Amazon Web Services (AWS)|website=Amazon Web Services, Inc.|language=en-US|access-date=2018-02-23}}</ref>, you will have to select the appropriate instance according to your computing demands and prices. [[AWS price calculator]] can help you to calculate your costs: https://calculator.s3.amazonaws.com/index.html.
 
* General Purpose: M5, M4, T2<ref>https://aws.amazon.com/ec2/instance-types/t2/</ref>, [[t2.micro]] instances are [[free tier]] eligible, T2 ulimited (not free tier eligible)
 
* General Purpose: M5, M4, T2<ref>https://aws.amazon.com/ec2/instance-types/t2/</ref>, [[t2.micro]] instances are [[free tier]] eligible, T2 ulimited (not free tier eligible)
 
* Compute Optimized: C5 (since November 2017) <ref>https://aws.amazon.com/blogs/aws/now-available-compute-intensive-c5-instances-for-amazon-ec2/</ref>, C4. C5 instances are cheaper and more powerful than C4 instances.
 
* Compute Optimized: C5 (since November 2017) <ref>https://aws.amazon.com/blogs/aws/now-available-compute-intensive-c5-instances-for-amazon-ec2/</ref>, C4. C5 instances are cheaper and more powerful than C4 instances.
* Memory Optimized: X1e, X1, R4
+
* [[Memory Optimized]]: X1e, X1, R4
 
* Accelerated Computing: P3, P2, G3, F1
 
* Accelerated Computing: P3, P2, G3, F1
 
* Storage Optimized: H1, I3, D2
 
* Storage Optimized: H1, I3, D2
 
  
 
[[EBS]] storage can be attached to ECS instances.
 
[[EBS]] storage can be attached to ECS instances.
Line 12: Line 11:
 
* <code>[[t4g.nano]]</code> aprox 5 USD/month <ref>https://calculator.aws/#/estimate?id=5bec502f704d9dcbd5458d09be4ef6d11fe20feb</ref>
 
* <code>[[t4g.nano]]</code> aprox 5 USD/month <ref>https://calculator.aws/#/estimate?id=5bec502f704d9dcbd5458d09be4ef6d11fe20feb</ref>
  
 +
== IaC ==
 +
* <code>[[aws ec2 run-instances]]</code>
 +
* Terraform resource: <code>[[aws_instance]]</code>
 +
* [[Terraform module: ec2-instance]]
  
 
== Timeline ==
 
== Timeline ==
 
* March 2022 Amazon EC2 adds new AMI property to view timestamp of the latest instance launch using the AMI: https://aws.amazon.com/about-aws/whats-new/2022/03/amazon-ec2-ami-timestamp-instance-launch/
 
* March 2022 Amazon EC2 adds new AMI property to view timestamp of the latest instance launch using the AMI: https://aws.amazon.com/about-aws/whats-new/2022/03/amazon-ec2-ami-timestamp-instance-launch/
 +
* Sep 2021 [[Amazon EC2 Global View]]
 
* [[AWS GuardDuty EC2 Instance Credential Exfiltration]] <ref>https://aws.amazon.com/blogs/aws/amazon-guardduty-enhances-detection-of-ec2-instance-credential-exfiltration/</ref>
 
* [[AWS GuardDuty EC2 Instance Credential Exfiltration]] <ref>https://aws.amazon.com/blogs/aws/amazon-guardduty-enhances-detection-of-ec2-instance-credential-exfiltration/</ref>
 
* July 2018, New <code>[[R5]], [[R5d]]</code>, and <code>[[z1d]]</code> Instances available.<ref>https://aws.amazon.com/blogs/aws/now-available-r5-r5d-and-z1d-instances/</ref>
 
* July 2018, New <code>[[R5]], [[R5d]]</code>, and <code>[[z1d]]</code> Instances available.<ref>https://aws.amazon.com/blogs/aws/now-available-r5-r5d-and-z1d-instances/</ref>
 
* Feb 2018 [[AWS Instance Scheduler]]
 
* Feb 2018 [[AWS Instance Scheduler]]
 +
* Jun 2012 [[IAM roles for EC2 instances]]
  
 
== Activities ==
 
== Activities ==
 
* Read https://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/
 
* Read https://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/
 +
* [[Create aws ec2 instance with ansible]]
 +
* [[Monitor memory and disk metrics for Amazon EC2 Linux instances]]
  
 
== Related terms ==
 
== Related terms ==
Line 27: Line 34:
 
* <code>[[chmod]] 400 YOUR_KEY.pem</code>
 
* <code>[[chmod]] 400 YOUR_KEY.pem</code>
 
* [[Amazon EC2 Spot]]
 
* [[Amazon EC2 Spot]]
* [[Create aws ec2 instance with ansible]]
 
* [[t3.micro]] included in [[AWS free tier]]
 
 
* [[Amazon EC2 service quotas]]<ref>https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html</ref>
 
* [[Amazon EC2 service quotas]]<ref>https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html</ref>
 
* Basic and advanced [[monitoring]]
 
* Basic and advanced [[monitoring]]
* [[Burstable]]
+
* [[Burstable]], [[CPU credits]]
 
* [[macOS]], [[MacStadium]]
 
* [[macOS]], [[MacStadium]]
 
* [[AWS CloudFormation]]: <code>[[AWS::EC2]]</code>
 
* [[AWS CloudFormation]]: <code>[[AWS::EC2]]</code>
Line 38: Line 43:
 
* [[IAM roles for EC2 instances]]
 
* [[IAM roles for EC2 instances]]
 
* [[AWS launch template]]: <code>[[aws ec2 create-launch-template]]</code>
 
* [[AWS launch template]]: <code>[[aws ec2 create-launch-template]]</code>
 +
* [[AWS CloudWatch]]
 +
* [[AWS: 169.254.169.254]]
 +
* [[CloudTrail Events]]
 +
* [[amazon-cloudwatch-agent-ctl]]
  
 
== See also ==
 
== See also ==

Latest revision as of 15:03, 16 March 2024

Amazon AWS offers different wikipedia:Elastic Compute Cloud (EC2) instance types[1], you will have to select the appropriate instance according to your computing demands and prices. AWS price calculator can help you to calculate your costs: https://calculator.s3.amazonaws.com/index.html.

  • General Purpose: M5, M4, T2[2], t2.micro instances are free tier eligible, T2 ulimited (not free tier eligible)
  • Compute Optimized: C5 (since November 2017) [3], C4. C5 instances are cheaper and more powerful than C4 instances.
  • Memory Optimized: X1e, X1, R4
  • Accelerated Computing: P3, P2, G3, F1
  • Storage Optimized: H1, I3, D2

EBS storage can be attached to ECS instances.

Pricing:

IaC[edit]

Timeline[edit]

Activities[edit]

Related terms[edit]

See also[edit]


Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.

Source: wikiversity

Advertising: