A few notes for passing the AWS Architect Associate certification - March 2018
General purpose SSD have a maximum of 10.000 IOPS.
It is possible to detach non-root volume from running EC2 instance.
| FROM golang:1.13.4 | |
| WORKDIR /app | |
| COPY app . | |
| CMD ["./app"] | |
| --- | 
| # ZSH / BASH users | |
| # Add this to your .env, .bashrc, .zshrc, or whatever file you're using for environment | |
| man() { | |
| env \ | |
| LESS_TERMCAP_mb=$(printf "\e[1;31m") \ | |
| LESS_TERMCAP_md=$(printf "\e[1;31m") \ | |
| LESS_TERMCAP_me=$(printf "\e[0m") \ | |
| LESS_TERMCAP_se=$(printf "\e[0m") \ | |
| LESS_TERMCAP_so=$(printf "\e[1;44;33m") \ | 
| var: | |
| meth: | |
| - name: "first" | |
| annotations: | |
| - summary = "first methode" | |
| - name: "second" | |
| annotations: | |
| - summary = "second methode" | 
| package main | |
| import ( | |
| "crypto/rsa" | |
| "encoding/base64" | |
| "encoding/binary" | |
| "encoding/json" | |
| "fmt" | |
| "github.com/dgrijalva/jwt-go" | |
| "io/ioutil" |