AWSome Day

AWS Services

  • Compute
  • Storage
  • Database
  • Network
  • Management

Compute

  • EC2
  • EC2 container
  • Lambda

EC2

EC2

  • Auto Scaling (more EC2 instance)

EC2 Container

EC2 container

  • PaaS for container
  • Simple API to start/stop container
  • Check container status

Lambda

Serverless service

Lambda

  • stateless
  • trigger by lamda API
  • auto scale
    • only need to specify memory
    • CPU、network、disk I/O would auto scale
  • failover

Storage

  • S3
  • Glacier
  • Storage Gateway

S3

  • scale、failover
  • version
  • Bucket & Object
  • Access through HTTP
    • http://songlin.s3.amazonaws.com/photos/ggininder.jpg
  • Object
    • data + metadata(modified time、 Content-Type ...)

Glacier

  • Cheap 1Gb/mon => $0.007

Storage Gateway

  • Connect local with cloud (backup)
    • upload data to cloud
  • Volume-based
    • mount as ISCSI
  • Type-based
    • archive backup data
  • Backend would store to S3/Glacier

Database

  • RDS
  • DynamoDB
  • ElastiCache

RDS

  • Relational database
  • Compatible to MySQL、MariaDB、Oracle、MS SQL Server、 PgSQL、Amazon Aurora (5x faster than MySQL)
  • Auto patch
  • Backup & Snapshot
  • Simple API to scale DB
    • vertical (hardware scale out or storage scale up)
    • horizontal (partition by your self)

DynamoDB

  • NoSQL
  • Auto spread data to mutilple instance
  • Auto divide table across mutiple partitions as independent
  • Auto replicate data across to other facilities to achieve availability 

ElasticCache

  • For cache
  • Supprt Memcached & Redis
  • Auto failover
  • Scale out (more instance)
    • e.g. work with memcached auto discovery

Networking

  • VPC
  • Route 53
  • Load balancer

VPC

  • Virtual private cloud
  • Just like in the same server room

Route 53

  • DNS service
  • Traffic Flow (Policy)
    • depend on delay、GEO、server status to find optimize way
  • API to configure

Load balancer

  • Like haproxy
  • Support HTTP/HTTPS/TCP/SSL
  • Auto scaling
    • e.g. if specify EC2 instance > 2, auto start instance
  • Combine with router 53 for more flexiable
  • health check
    • ping
    • Get http status

Management

  • CloudWatch
  • CloudFormation
  • OpsWorks

CloudWatch

  • Collect log
  • Set Alert
  • Monitor status & resource usage & performance
  • Monitor DB
  • Trigger

CloudWatch

CloudFormation

  • Recipient for creating aws service

OpsWorks

  • Use Chef to setup your environment

Service Example

Web Site

Service

  • Route 53
  • Load balancer
  • EC2 instance
  • ElastiCache
  • S3 storage
  • RDS
  • CloudWatch

Others

  • CodeCommit
  • Trusted Advisor
  • WAF
  • Directory Service
  • ElasticSearch
  • kinesis
  • API Gateway
  • IoT
  • ...

AWS Introduce

By nit nit

AWS Introduce

  • 40