티스토리 뷰
ec2 : elstic compute cloud - infra as a service
ec2 ebs elb asg
ec2 sizing
os , cpu , ram , storage space:ebs,efs ec2 instance store
network card , firewall rules, bootstrap script, ec2 user data
ec2 instance type
계산 최적화
메모리 최적화
저장소 최적화
보안그룹: contains only allow rules
firewall on ec2 instances
access to ports
authorized ip ranges
inbound/outbound network
multiple instances
vpc 조합으로 봉쇄됨
good to maintain one separate security group for ssh access
time out -> securitu 문제
ec2 on demand
pay for what you use
hightest cost but no upfront payment
no long term commitment
초보자: on demand , reserved, saving plans, spot instances, dedicated hosts, capacity reservation
How long can you reserve an EC2 Reserved Instance? 1 or 3 years
Compute Optimized EC2 instances are great for compute-intensive workloads requiring high-performance processors (e.g., batch processing, media transcoding, high-performance computing, scientific modeling & machine learning, and dedicated gaming servers).
Memory Optimized EC2 instances are great for workloads requiring large data sets in memory
Security Groups can be attached to multiple EC2 instances within the same AWS Region/VPC.
Dedicated Hosts are good for companies with strong compliance needs or for software that have complicated licensing models. This is the most expensive EC2 Purchasing Option available.
Spot Fleet is a set of Spot Instances and optionally On-demand Instances. It allows you to automatically request Spot Instances with the lowest price.
6단원
elastic ip
ec2인스턴스 멈추고 다시 시작할때 public ip를 변화시킴
고정된 public ip주소가 필요하면 elastic ip 사용하기
you can attach it to one instance at a time
you can mask the failure of an instance or software by rapidly remapping the address to another instance in your account
5 elastic ip in your account
avoid using elastic ip
use a random public ip and register a dns name to it
use a load balancer and dont user a public ip
your ec2 machine comes with private ip for the internal aws network
public ip for the www.
ssh into out ec2 machines
cant use a private ip
ec2 placement groups
cluster - cluster instances into a low latency group in a single availability zone
spread - spreads instances underlying hardware
partition - spread instances across
'cloud computing' 카테고리의 다른 글
cloud operation 2 (0) | 2023.11.19 |
---|---|
cloud operation 1 (0) | 2023.11.19 |
Intro to Amazon EC2 ~ 04-1 (0) | 2023.09.27 |