Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Pro Tips for Builders on AWS - AWS Summit Sydney

88 visualizaciones

Publicado el

This talk will feature a list of quick-hitting pro tips aimed at improving your day-to-day life building on AWS. This session will cover tips on: working effectively with the AWS CLI and other third-party CLIs; creating, editing, debugging, and deploying an AWS Lambda-powered serverless application quickly and easily using the new AWS Toolkit; and performing powerful filtering and searches on your structured application logs with Amazon CloudWatch.

  • Sé el primero en comentar

  • Sé el primero en recomendar esto

Pro Tips for Builders on AWS - AWS Summit Sydney

  1. 1. S U M M I T SYDNEY
  2. 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. 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T As builders, we want…
  4. 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. 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. 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. 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. 8. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  9. 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  10. 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  11. 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. 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  13. 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. 14. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  15. 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. 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. 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. 18. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  19. 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  20. 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  21. 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. 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. 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. 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. 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. 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. 27. S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
  28. 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.S U M M I T
  29. 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. 30. Thank you! S U M M I T © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Gabe Hollombe @gabehollombe

×