SlideShare ist ein Scribd-Unternehmen logo
1 von 30
S U M M I T
SYDNEY
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Pro tips for builders on AWS
Gabe Hollombe
Sr. Technical Evangelist
Amazon Web Services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
As builders, we want…
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Teletype Model 33
1963
https://en.wikipedia.org/wiki/Teletype_Model_33#/media/File:Teletype-IMG_7287.jpg
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Multics OS
1965
Multics
https://upload.wikimedia.org/wikipedia/commons/a/a5/Multics_logo.gif
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
DataPoint 3300
1969
http://www.vintagecomputer.net/ctc/3300/
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Why we love AWS Command Line Interface
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
roles=$(aws iam list-roles 
--query 'Roles[?starts_with(RoleName, `some-prefix`)].RoleName’ 
--output text)
for role in $roles; do
policies=$(aws iam list-attached-role-policies 
--role-name=$role 
--query AttachedPolicies[*][PolicyArn] 
--output text)
for policy in $policies; do
aws iam detach-role-policy --policy-arn $policy --role-name $role
done
aws iam delete-role --role-name $role
done
Cleaning up roles
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS Command Line Interface Tooling
The AWS CLI
https://aws.amazon.com/cli/
SAWS (“Supercharged AWS”)
https://github.com/donnemartin/saws
AWS Console Recorder
https://github.com/iann0036/AWSConsoleRecorder
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Sketchpad
Ivan Sutherland, 1962
https://history-computer.com/ModernComputer/Software/images/Ivan_Sutherland1962.jpg
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Smalltalk-76
Xerox PARC, 1976
https://en.wikipedia.org/wiki/History_of_the_graphical_user_interface#/media/File:Smalltalk-76.png
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Debugging a Lambda
The AWS Toolkit in IntelliJ /
PyCharm, 2019
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Serverless
❤️ IDEs
AWS Toolkits for popular IDEs
https://github.com/aws/aws-toolkit-jetbrains
https://github.com/aws/aws-toolkit-vscode
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
AWS Toolkit for Visual Studio Code (Developer Preview)
• Open Source IDE Toolkit
• Will support .NET Core and Node.js
• Support for AWS Lambda application
development
• Templates for easy getting-started
• Integrated step-through debugging
• Easy to deploy
• Visit aws.amazon.com/vscode or
download source code from GitHub
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Allocation of beer
Cuniform Tablet, 3,100-3,000 BCE
https://commons.wikimedia.org/wiki/File:Early_writing_tablet_recording_the_allocation_of_beer.jpg
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Accounting ledger
1828
https://en.wikipedia.org/wiki/General_ledger#/media/File:Ledger.png
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Analysing log files
Amazon CloudWatch, 2019
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Structured logging
[2019-02-14T11:22:33.000000] INFO -- : 
User gabehollombe completed order 123 for total $313.37
{
timestamp: “2019-02-14T11:22:33.000000”,
level: 2,
event: “Order Completed”,
userId: “gabehollombe”,
orderId: “123”,
totalCents: 31337
}
Only good for humans
Good for humans and machines
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
Get more out of your logs
Searching and filtering
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringLogData.html
Visualisation and analysis
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html
Thank you!
S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Gabe Hollombe
@gabehollombe

Weitere ähnliche Inhalte

Mehr von Amazon Web Services

Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSAmazon Web Services
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAmazon Web Services
 
Crea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSightCrea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSightAmazon Web Services
 
Costruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker AutopilotCostruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker AutopilotAmazon Web Services
 
Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows Amazon Web Services
 
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?Amazon Web Services
 
Protect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced AttacksProtect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced AttacksAmazon Web Services
 
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用Amazon Web Services
 

Mehr von Amazon Web Services (20)

Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 
Come costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWSCome costruire un'architettura Serverless nel Cloud AWS
Come costruire un'architettura Serverless nel Cloud AWS
 
AWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei serverAWS Serverless per startup: come innovare senza preoccuparsi dei server
AWS Serverless per startup: come innovare senza preoccuparsi dei server
 
Crea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSightCrea dashboard interattive con Amazon QuickSight
Crea dashboard interattive con Amazon QuickSight
 
Costruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker AutopilotCostruisci modelli di Machine Learning con Amazon SageMaker Autopilot
Costruisci modelli di Machine Learning con Amazon SageMaker Autopilot
 
Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows Migra le tue file shares in cloud con FSx for Windows
Migra le tue file shares in cloud con FSx for Windows
 
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
La tua organizzazione è pronta per adottare una strategia di cloud ibrido?
 
Protect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced AttacksProtect your applications from DDoS/BOT & Advanced Attacks
Protect your applications from DDoS/BOT & Advanced Attacks
 
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
Track 6 Session 6_ 透過 AWS AI 服務模擬、部署機器人於產業之應用
 

Pro Tips for Builders on AWS - AWS Summit Sydney

  • 1. S U M M I T SYDNEY
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Pro tips for builders on AWS Gabe Hollombe Sr. Technical Evangelist Amazon Web Services
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T As builders, we want…
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Teletype Model 33 1963 https://en.wikipedia.org/wiki/Teletype_Model_33#/media/File:Teletype-IMG_7287.jpg
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Multics OS 1965 Multics https://upload.wikimedia.org/wikipedia/commons/a/a5/Multics_logo.gif
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T DataPoint 3300 1969 http://www.vintagecomputer.net/ctc/3300/
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Why we love AWS Command Line Interface
  • 8. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  • 11. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. roles=$(aws iam list-roles --query 'Roles[?starts_with(RoleName, `some-prefix`)].RoleName’ --output text) for role in $roles; do policies=$(aws iam list-attached-role-policies --role-name=$role --query AttachedPolicies[*][PolicyArn] --output text) for policy in $policies; do aws iam detach-role-policy --policy-arn $policy --role-name $role done aws iam delete-role --role-name $role done Cleaning up roles
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS Command Line Interface Tooling The AWS CLI https://aws.amazon.com/cli/ SAWS (“Supercharged AWS”) https://github.com/donnemartin/saws AWS Console Recorder https://github.com/iann0036/AWSConsoleRecorder
  • 14. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Sketchpad Ivan Sutherland, 1962 https://history-computer.com/ModernComputer/Software/images/Ivan_Sutherland1962.jpg
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Smalltalk-76 Xerox PARC, 1976 https://en.wikipedia.org/wiki/History_of_the_graphical_user_interface#/media/File:Smalltalk-76.png
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Debugging a Lambda The AWS Toolkit in IntelliJ / PyCharm, 2019
  • 18. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Serverless ❤️ IDEs AWS Toolkits for popular IDEs https://github.com/aws/aws-toolkit-jetbrains https://github.com/aws/aws-toolkit-vscode
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T AWS Toolkit for Visual Studio Code (Developer Preview) • Open Source IDE Toolkit • Will support .NET Core and Node.js • Support for AWS Lambda application development • Templates for easy getting-started • Integrated step-through debugging • Easy to deploy • Visit aws.amazon.com/vscode or download source code from GitHub
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Allocation of beer Cuniform Tablet, 3,100-3,000 BCE https://commons.wikimedia.org/wiki/File:Early_writing_tablet_recording_the_allocation_of_beer.jpg
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Accounting ledger 1828 https://en.wikipedia.org/wiki/General_ledger#/media/File:Ledger.png
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Analysing log files Amazon CloudWatch, 2019
  • 26. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Structured logging [2019-02-14T11:22:33.000000] INFO -- : User gabehollombe completed order 123 for total $313.37 { timestamp: “2019-02-14T11:22:33.000000”, level: 2, event: “Order Completed”, userId: “gabehollombe”, orderId: “123”, totalCents: 31337 } Only good for humans Good for humans and machines
  • 27. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T Get more out of your logs Searching and filtering https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringLogData.html Visualisation and analysis https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html
  • 30. Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Gabe Hollombe @gabehollombe