=============
= AWS =
courses:
https://evantage.gilmoreglobal.com/?#/ (mypass)
Labs:
https://aws.qwiklab.com/live
https://aws.amazon.com/solutions/case-studies/
Regardez ce nouveau blog: https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html. Ce nouveau “system manager” rend les choses encore plus faciles.
Il existe une variété de laboratoires autonomes ( self-paced labs (http://aws.amazon.com/training/self-paced-labs/)), qui acquièrent une expérience pratique sur de nombreux services AWS. Qu'il s'agisse d'un nouveau service ou d'un sujet dont vous avez entendu parler et que vous souhaitez mieux comprendre ou préparer un examen ou une discussion.
N'oubliez pas qu'AWS Free Tier vous permet de commencer à utiliser gratuitement AWS.
Vous pouvez également créer des alarmes de facturation pour contrôler la facturation sur votre utilisation de carte bleu.
Les pages Whitepapers(https://aws.amazon.com/whitepapers/) et Cloud Security(https://aws.amazon.com/security/) contiennent des informations détaillées sur la sécurité et d’autres sujets relatifs au cloud. Voici le lien vers AWS Well-Architected Framework(https://aws.amazon.com/architecture/well-architected/) et AWS Cloud Adoption Framework(https://aws.amazon.com/professional-services/CAF/) - deux très bonnes lectures!
Plus de formation, de laboratoires ou de certification ?
Acloud.guru
https://qwiklabs.com/
https://www.whizlabs.com
Learn to Build(https://aws.amazon.com/getting-started/use-cases/)
Besoin de plus d’informations sur les outils:
Simple Calculator(http://aws.amazon.com/calculator): Cette calculatrice vous aide à établir vos dépenses mensuelles.
Whitepapers(http://aws.amazon.com/whitepapers): Know more in-depth comparisons and guidelines from AWS Whitepapers
TCO Calculator(http://aws.amazon.com/tco-calculator/): Une calculatrice d’aperçu du coût total “On-prem” par rapport aux coût dans le cloud d’AWS
IAM policy simulator(https://policysim.aws.amazon.com/home/index.jsp): Vérifiez vos politiques avant d’intégrer votre code et votre IAM
DynamoDB plus d’info(https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/best-practices.html)
Voici des liens supplémentaires: AWS YouTube channel(https://www.youtube.com/user/amazonwebservices) , AWS Official Blog(http://aws.amazon.com/blogs/aws/), AWS SlideShare.net(http://www.slideshare.net/AmazonWebServices), et AWS Architecture Centre(http://aws.amazon.com/architecture/).
Regions + HAzone
and edge locations (dns deployement tools etc..)
T2 Credit accumulation
spare when not used so you can sometimes go over the limit
Spot Instances good offer ?
gather info on EC2
curl http://169.254.169.254/latest/meta-data
curl http://169.254.169.254/latest/user-data
== Stockage
Instance Store : Ephemeral, SSD
EBS : snapshot, persistance
SSD
SSD (provisioned iops)
Throughput Optimized 40Mb/s
S3 : can create endpoint on vpc subnet(where you manage policy)
configure notification (add, mod, delete)
possibility ti activate versionning
4 classes standard, standard infrequente access, glacier, (old : reduced redundancy)
glacier : use sdk to write ! or lifecycle rules
EFS : Share FS
== Network
DC to aws => AWS Direct Connect (bgp style ?)
Auto Assign pub IP != Elastic IP (fix)
IGW Internet GW
VGW Vpn GW
NGW Nat GW : EIP priv -> pub
VPC
VPC Peering : between vpcs (often use for peering an admin vpc) same region, not encrypt, no chaining route between vpc-A to vpc-C through vpc-B
Elastic LoadBalancer : RR, sticky or not, cross AZ (zone) or not (defaut not), TCP HTTP, autoscalable, can be internal lb
Route53 : dns w request w criteria : weight, healthcheck, latency, geo
== Security
Security groups : by instances , statefull, whitelist, Deny allways prior
NACL Network acl : by subnets, order list , blacklist, stateless
== Monitor
cloudwatch
gather metrics
can set alarm threshold
create filter
cloudtrail
log specific actions : tracing , also api
can chosse : Region or global
aws config
inventory with trigger alarm
config run every 15min and notice all change
redshift
big data stocakge en colonne
== Automation
AWS CloudFormation
Manage template
then -> stack
create AMI from instance (like snapshot)
tips : send message (w sqs) a the end of user-data
System Manager Service : run scripts etc…
Inspector : check for secu vulnerability
AutoScaling
auto healthcheck
auto add in ELB
auto balance in zones
can autoscale by steps
auscale lifecycle hooks (send hooks for start or stop)
can perform rolling update
Can autoscale 1
creating a scale group w 1 instance : will restart if healthcheck fail
aws-cfn-bootstrap : between ansible and cloudinit
Coudformer
create cloudFormation templates
parameter : ask human for value
mappings : dictio
== CLI
aws configuration
== LEXIC
EC2 = Elastic Compute Cloud
IAM = Identity Access Management
EBS = Elastic Block Store (Optimzed is dedicated)
S3 = Simple Storage Service
EIP = Elastic IP
AMI = Amazon Machine Image
ENI = Elastic Network Interfaces
SQS = Simple Queue Service
SNS = Simple Notification Service
ELB = Elastic Load Balancer
complete -C ‘/usr/local/bin/aws_completer’ aws
JMESPATH
query cli json
http://jmespath.org/
CostExplorer in billing section
Trusted adviser : some check for cost/secu
https://github.com/Netflix/aminator
AWS
Compute
EC2
ECS
Lambda (autoscale /!\ set max)
Storage
EBS - block
S3 - object
Glacier - slow
Snowball - transfert data (via box and ups)
Cloudfront - CDN
storage gateway - vm to install on-premise who transfert to aws S3 (eg : backup)
Database
RDS - sql mysql psql oracle
Dynamo - nosql
DMS - Database Migration Service
Redshift - big data
Networking
VPC
Direct Connect - private link
Route 53 - DNS + LB
Management
cloudwatch - monit
formation - deploy/template
trusted advisor - advise
secu
A authentication
A authorization
A accouting
AIM
WAF
cloudtrail - log activity on managment
Analytics
EMR - hadoop
kinesis - streaming
Application service
Api gateway - expose HTTP Lambda, dynamoDB, kinesis …
SQS - Simple Queue Service (1 to 1) max 256K (dead letter queue)
message delivery MINIMUM once !!
Entrprise applications
workspaces - desktop
AI
Machine learning
IOT
iot - connect devices to cloud
Code pipeline - release automation
Code commit - control service, version
Code Build - build and test
Code deploy - deploy orchestration
X-ray - issued detector and optimization
Codestar - set and configure the developer tools
Cloud9 - web environment IDE
Security
shield (standart) - DDOS protection
shield advanced + waf
EC2 Type
M C T2 etc …
factu
Reserved Instances :
Standard = fixed
Convertible = modif instances type
Scheduled = not 100%
Intel techno
default 20/region
S3
Type factu
factu par object
S3 gratuit en interne (az) (check if cloudfront more interesting)
Hook à l’upload/download
retention, deplacement (vers glacier) , modif facturation
versionning
S3 upload gratos
diff type
IA
RRS (old)
apprendre les 99,99..% for s3
encryption SSE-S3, SSE-KMS, SSE-C
SSE = server side
CSE = Client side
gerer le multi-part upload (chunk your file) ~ 100Mo
service regional
unique woldwide name
IA (minimum 30days)
can log all access
EBS
taille max
IO
EFS
Share storage (NFS 4.0/4.1)
Linux only
Glacier
Types access :
expedited
standard
bulk
Vaults - archive (gros tar)
lifecycle policy
= retention
RDS
scalable (but not autoscalable)
Can use read replicas (but latency) - No available for oracle and M$sql
No root access(no mega tuning)
Dynamo DB
autoscale
no size limit
no throughtput limit
Lecture :
consistent
non consistent
Dynamo max name key/values combined => 400KB
Read 4KB/s
Write 1KB/s
IAM
Deny default
Delegate - tempo access to a role
billing report
important
cloudtrail & aws(cloud) config
aws organizations
ou (organisation unit) (ldap style)
endpoint
endpoint in vpc for non-vpc-linked service
vpc peering
non transitif
no nat - think about lan ip range
Nat gw
nat priv => pub
en retour d’un LB
NACL
bound to range not instance
IGW
0.0.0.0/0 route
nat gw
VPC flow logs
Capture traffic
-> cloudwatch (or S3)
CGW + # VGW (multiple vpn connexion and direct connect)
customer gw. connect customer lan to vpc
= vpn
2 tunnels (ha)
ElasticIP
switch to ec2
ELB
PUB or Private
http, tcp, websocket
TLS termination
ApplicationLB = HTTP(s) (manage web route)
NetworkLB = TCP
Drain = ability to graceful stop backend
Cloudwatch
logs -> cloudwatch
cloudwathc alarms -> evenement -> trigger
possibilité de fournir les logs cloudwatch à un outils de monitor tier
every 5min or every minutes
default metrics : cpu, disk read, network in
autoscaling
/!\ warmup (and cooldown)
deploiement not orchestration
mapping - dictionnaire | + parameters + conditions = un minimum d’intelligence et de “variablilité”
can use lambda to add functions
cloudformation groups - separate cloudformation script (ex : aim, vpc, appli, etc..)
Elastic Beanstalk
deploy and scaling service for web appli
ready for production (or preproduction)
OpsWorks
use puppet or chef
System Manager
replace puppet or chef
aws or on premise
can Run Command
SNS
simple notification
(1 to multiple)
mail (plain / json)
SMS
HTTP(S)
SQS
Mobile push messaging
lambda
256K max
MQ
ActiveMQ fully managed
API Gateway
…
flow logs
logs tcp connexions
set on : vpc, subnet, EIP
codestar
code commit
codebuild
codedeploy
codepipeline
x-ray
ex : “aws config” alarms if resources with no tag
guard duty
inelligent threat detection
analyse : cloud trail , vpc flow, dns query logs
inspector
scan (from inside) : anti virus, best practice deviation, remote root login, vulnerable appli installed …
KMS
key master
encrypt keys with a master key, that i don’t own
Symmetric only
Macie
AI analyse data -> suggest data classification
cloud HSM
Hardware Security Module
hard dedicated storage for your key
(kind of dedicated kms)
can create asymetric encryption
Directory Service
M$ ad
ad connector : connect to on premise ad
STS
security token service
for temporary access to resources
SAML
sso using saml with amazon
Cognito
Web Identify Federation
use a tier account to auth (ex, amazon, google, fb, etc..)
Recovery
in another region :
backup/restore
pilot light = cold drp
low capacity stand by = drp low capacity (possiblity to lb 80%/20%)
active-active