1.AWS introduction2.Course 1 Getting started with AWS3.Course 2 IAM & AWS CLI 4.Course 2.2 IAM & AWS CLI
5.Course 3 EC2 Fundamentals
Amazon EC2
- EC2 = Elastic Compute Cloud = Infrastructure as Service
- It mainly consists in the capability of:
- Renting virtual machines (EC2)
- Storing data on virtual drives (EBS)
- Distributing load across machines (ELB)
- Scaling the services using an auto-scaling group (ASG)
EC2 sizing & configuration options
- Operating System (OS): Linux, Windows or Mac OS
- How much compute power & cores (CPU)
- How much random-access memory (RAM)
- How much storage space:
- Network-attached (EBS & EFS)
- hardware (EC2 Instance Store)
- Network card: speed of the card, Public IP address
- Firewall rulesL securtiy group
- Boostrap script (configure at first launch) : EC2 User Data
EC2 User Data
- It is possible to bootstrap our instances using an EC2 User data script
- bootstrappinp means launching commands when a machine starts
- That script is only run once at the instance first start
- Installing updates
- Installing software
- Downloading common files from the internet
- Anything you can think of
- The EC2 User Data Script runs with the root user
EC2 Instance Types
- AWS has the following naming convention:
- e.g. m5.2xlarge
- m: instance calss
- 5: generation(AWS improves them over time)
- 2xlarge: size within the instance class
General Purpose
- Great for a diversity of worklads such as web servers or code repositories
- Balance between:
- Compute
- Memory
- Networking
- t2.micro is a General Purpose EC2 instance
Compute Optimized (C type)
- Great for compute-intesive tasks that require high performance processors:
- Batch processing workloads
- Media transcoding
- High performance web servers
- High performance computing (HPC)
Memory Optimized (R type)
- Fast performance for workloads that process large data sets in memory
- Use cases:
- High performance, relastional/non-relational databases
- Distributed web scale cache stores
- In-memory databases optimized for BI (business intelligence)
- Applications performing real-time processing of big unstructured data
Storage Optimized (i/D type)
- Great for storage-intensive tasks that require high, sequential read and write access to large data sets on local storage
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 终于写完轮子一部分:tcp代理 了,记录一下
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理