Serverless

  • Serverless Website with API Gateway and Lambda
    • Create function
      • Author from scratch
      • Python 3.6
      • Create a new role from AWS policy templates
        • Simple microservice permissions
    • Modify function code
    • Save function
    • Configure description
    • Add trigger: API Gateway
      • API Type: REST API
      • Security: IAM
      • Save
    • View API Endpoint
    • Delete method
    • Create Method: GET
      • Integration type: Lambda Function
      • Use Lambda Proxy integration
      • Save
    • Deploy API
    • Invoke the URL
    • Modify index.html
    • Create S3 bucket
      • Make public
    • Configure static website hosting
      • index.html
      • error.html
    • Upload index.html and error.html
    • Make objects public
    • Test index.html
    • Create DNS record
    • View the domain name
  • Elastic Container Service
    • Container Definition: sample-app
    • View Service
    • View task using public IP
    • Stop the task
    • Verify new task is running
    • Update desired task to 2
    • View tasks are running