Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Latest commit

 

History

History
73 lines (58 loc) · 2.6 KB

intro-tutorials.md

File metadata and controls

73 lines (58 loc) · 2.6 KB

Trondheim 2017-11-07

Tutorial #1

Intention is to protect your account

  • Assigning MFA to user
    • Take a look in IAM
    • Set MFA on the IAM-user (or root account)

Tutorial #2

Intention is to protect your account with an audit log

  • Check out cloud-trail, enable if not enabled

Tutorial #3

Intention is to use S3 to host webpages.

  • Make a simple webserver
    • Make a bucket in S3
    • Configure it to act as a webserver
    • Upload some content (html, img…)

Hints:

  • Bucket policy
  • Static Website Hosting

Cleanup: Remove bucket

Tutorial #4

This tutorial set up a load balanced redundant web-envronment in PHP. Use this to explorer how loadbalancing and autoscaling works. After the system is up and running, check out the setup of Loadbalancers and Autoscaling in the EC2-console. Also try to adjust number og hosts, shutdown a host etc. Whan you have more than one server running, deloy a new versjon of the application.

(The following applies to the new web-interface)

Things to try and see:

  • Check settings for loadbalancer and autoscaling on EC2-console
  • Open the application in a browser-windows (or more). The page will reload every 5 sec.
  • Adjust number of servers
  • Deploy a new version of the app
  • Shutdown a server (EC2-console)
  • Change to antother instance-type

Tutorial #5

Set up a serverless event-driven system for processing files:

** NOTE THIS ** Because of a bug in an older version of this tutorial download this cloudformation template and launch the stack from this template in us-east-1 (Virginia) https://raw.githubusercontent.com/abjoerne/lambda-refarch-fileprocessing/master/lambda_file_processing.template

Then go to this page to see instructions (except the launching) https://github.com/awslabs/lambda-refarch-fileprocessing

Tutorial #6

Set up a photo-album with automatic resize of photos and tagging of content https://github.com/awslabs/lambda-refarch-imagerecognition