AWS Workshop

Practical overview of some useful AWS cases

intro

About me

  • • Pim Snel <pim@technative.eu>
  • • Cloud Engineer at TechNative NL
  • • Previous life… ran a software development company
  • • Loving the good life…
  •   (family, wine, beer, foodie, music festivals… play around!)

 

      obsessed with Open Source software..

Creativity meets the Cloud

Reasons to learn AWS..

intro

Why learn AWS

  • • It’s a toystore filled with building blocks
  • • Idea’s turn into reality much faster
  • • There are no borders between development and infrastructure
Let’s get started

The Warming up..

Browsing through the AWS Admin Console

Takeways

  • • Get familiarized with AWS Console
  • • Learn to find the most important services
  • • something with regions
  • • Navigating in the menu
  • • Searching for a service
  • • Typical services: S3, EC2, IAM, Route 53
  • • Bookmarking
  • • Dark Mode

you spent hours building a huge demo..
and this happens…

WTF

😱

everything is gone!!!

Have you selected the correct region?
AWS Billing and the Cost Explorer

Takeways

  • • Always be aware of your cloud spend
  • • Learn how to identify costly services
  • • Billing overview
  • • Using the Cost Explorer
  • • Turn off unused services that cost money

Now lets really start

Installing a LAMP machine

Installing an EC2 Bitnami Lamp machine

Takeways

  • • Learn how to install prebuild AMI’s
  • • Learn about security groups
  • • Learn EC2 basics
  • • Some basic and advanged SSH stuff

Steps we need to take.

  • • Setup
  • • First Connect
  • • Open the web interface
  • • Getting stuff inside your VM
  • • Access phpMyAdmin via a SSH tunnel

 

https://github.com/technative-university/01-lamp-on-ec2

Our Managed Services DNA

Creating Infrastructure as Code with Terraform

A minimal Terraform Example

Takeways

  • • Learn how to get CLI access to AWS
  • • Understand the concept of Terraform
  • • Learn how to deploy resources in AWS

Steps we need to take.

  • • Prepare AWS CLI
  • • Install Terraform
  • • Create a litte terraform project
  • • Deploy and test

 

https://github.com/technative-university/02-minimal-terraform-exercise

Terraform is modular

Implementing external terraform modules in Terraform

A modular Terraform Exercise

Takeways

  • • Learn how to navigate in the Terraform Registry
  • • Learn how to implement Terraform Modules
  • • Learn about Lambda, API Gateway and SES

Steps we need to take.

  • • Read the exercise instructions
  • • Read find the html-form-action module
  • • Read module the module instructions
  • • Deploy and test

 

https://github.com/technative-university/03-terraform-module-form-endpoint

Choose your execise

➡️ Installing a LAMP server

➡️ Minimal Terraform

➡️ MailForm Endpoint with Terraform

Exercises for the bored nerds 🥱

Exercises for the bored nerds 🥱

Bonus exercises Docker + Traefik

Steps to take.

  • • Turn of the webserver in the Bitnami host
  • • Install Docker & Docker compose
  • • Fire up a traefik docker container
  • • Fire up Umami with docker-compose with traefik conifguration

 

Exercises for the bored nerds 🥱

Add authentication to static site with Cognito

Steps to take.

  • • Read the module docs from static-website-cognito-auth
  • • try to implement
  • • Bonus Bonus: connect to your Google Cloud authentication.

Thanks!

😀

Contact me for questions

pim@technative.eu

Let’s plan the next workshop

There is so much more to tell

Lets

work

together

 

Need a hand? Or a high five?

Let us know – hello@technative.nl.

We are ready when you are!