-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathec2
64 lines (49 loc) · 2.51 KB
/
ec2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#################################
# By Ksanchez #
# Security+ | MGP | Ps. Auditor #
# @ksanchez_cld (Twitter) #
#################################
Amazon EC2 - ELASTIC COMPUTE CLOUD
Amazon EC2 is a web service that provides compute capacity in the AWS cloud.
- You can bundle the operating system, application software, and associated configuration settings into an Amazon Machine Image (AMI).
- You can then use these AMIs to provision multiple virtualized instances as well as decommission them using web service calls.
- EC2 instances can be resized and the number of instances scaled up or down to match your requirements or demand.
- These instances can be launched in one or more geographical locations or regions, and Availability Zones (AZs). connected by low latency networks in the same region.
- You can enable monitoring on EC2 instances using Amazon CloudWatch.
- EC2 INSTANCE TYPE
- General Purpose.
- Compute Optimized.
- Memory Optimized.
- GPU.
- Storage Optimized.
- T2 Burstable Performance Instances
- Baseline performance and ability to burst are governed by CPU credits.
- Credits are built up and store for up to 24hrs. instance is operating bellow the baseline performance.
- Credits are used to burst above baseline capacity when needed.
- If your instance does not maintain a positive CPU credit balance for bursting consider upgrading to larger instance.
- EC2 STORAGE OPTIONS
- Instance Store
- Physically attached to the host server.
- Data Not Lost when OS is rebooted.
- Data Lost when:
- Underlying drive fails.
- Instance is stopped.
- Instance is terminated.
>> Do not rely on fo valuable long term data.
>> Cannot detach and attach to another instance.
- ELASTIC BLOCK STORE (EBS)
- Replicated within AZ.
- EBS optimized instances provide dedicated throughput between EC2 and EBS volume.
- EBS volumes attached at instance launch are deleted when instance is terminated.
- EBS volumes attached to a running instance are not deleted when instance is terminated but are detached with data intact.
- EBS STORAGE OPTIONS
- General Purpose (SSD)
- Default choice.
- Provisioned IOPS (SSD)
- Consistent and low-latency performance.
- I/O intensive applications such as large relational or NoSQL databases.
- Magenic
- Lower cost per Gigabyte.
- EBS Encryption
- AWS Key Management Service (KMS) master keys or Customer Master Key (CMK).
- Data stored at rest encrypted (including snapshots created) as well as data in transit between EBS and EC2.