EC2 CheatSheet

  • Elastic Compute Cloud (EC2) is a Cloud Computing Service
  • Configure your EC2 by choosing your OS, Storage, Memory, Network Throughput.
  • Launch and SSH into your server within minutes.
  • EC2 comes in variety Instance Types specialized for different roles:
    • General Purpose balance of compute, memory and networking resources
    • Compute Optimized ldeal for compute bound applications that benefit from high performance processor
    • Memory Optimized fast performance for workloads that process large data sets in memory.
    • Accelerated Optimized hardware accelerators, or co-processors
    • Storage Optimized high, sequential read and write access to very large data sets on local storage
  • Instance Sizes generally double in price and key attributes
  • Placement Groups let you to choose the logical placement of your instances to optimize for communication, performance or durability. Placement groups are free.
  • UserData a script that will be automatically run when launching an EC2 instance.
  • MetaData meta data about the current instance. You access this meta data via a local endpoint when SSH’d into the EC2 instance. eg. curl http://169.254.169.254/latest/meta-data meta data could be the instance type, current ip address etc..
  • Instance Profiles a container for an IAM role that you can use to pass role information to an Ec2 instance when the instance starts.