Julio Faerman - @faermanj
-
Why AWS?
open https://aws.amazon.com/what-is-cloud-computing/
-
Free?
open http://aws.amazon.com/free/
# Por quê praticar programação neste formato? | |
# Como se preparar para entrevistas de programação? | |
# O que se avalia normalmente? | |
# Como lidar com a pressão? | |
# Como gerenciar o tempo? | |
# Como gerenciar a comunicação? | |
# Que tipos de problema se pede mais? | |
# Que algoritmos e estruturas de dados preciso saber? | |
# Que linguagens e ferramentas posso usar? | |
# Quais são as perguntas mais comuns? |
#!/usr/bin/env bash | |
set -e | |
# Script for creating a multi-region active-active deployment | |
# usgin the AWS CLI based on the post from @adhorn: | |
# https://medium.com/@adhorn/multi-region-serverless-backend-reloaded-1b887bc615c0 | |
RID="$RANDOM" | |
PREFIX="globalapp" | |
REGIONS="us-east-1 us-west-2 eu-west-1" |
# curl -s https://gist.githubusercontent.com/faermanj/2db9d8d5c24cc692fc415b30e8c039c6/raw/167d055e8db9cd5ae27f19b7ca71838c381f0ac7/initc9.sh | sh | |
# Javascript | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
nvm install node |
"How does your system adapt"
"changes in demand"
Today we are building the best practice "REL 3 How does your system adapt to changes in demand?" The goal is to create a sample application using AWS Elastic Beanstalk and AWS CloudFormation and start taking load measurements.
You are welcome to comment and ask questions on twitch chat, but please keep it friendly and respectful.
More details and links on this gist: https://gist.github.com/jfaerman/9dd8c585852a21d605048631b6788125
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/raid-config.html | |
mdadm --create --verbose /dev/md0 \ | |
--level=0 \ | |
--name=riverraid \ | |
--raid-devices=2 /dev/nvme1n1 /dev/nvme2n1 | |
mkfs.ext4 -L riverraid /dev/md0 | |
mdadm --detail --scan | sudo tee -a /etc/mdadm.conf | |
dracut -H -f /boot/initramfs-$(uname -r).img $(uname -r) | |
mkdir -p /mnt/riverraid |
Video: https://www.twitch.tv/videos/177667117
"In God we trust, all others bring data" W. Edwards Deming
Performance 👎
'use strict'; | |
const data = require('./data'); | |
const response = (statusCode, url) => { | |
return { | |
statusCode: statusCode, | |
headers: { | |
'Access-Control-Allow-Origin': '*', | |
'Access-Control-Allow-Credentials': true, | |
'Location': `${url}` |