Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Latest commit

 

History

History
68 lines (41 loc) · 1.96 KB

README.md

File metadata and controls

68 lines (41 loc) · 1.96 KB

100-dodeva-31-demos-golang

GoLang based demos for Developping on AWS course

Demos

Demo 1 : Introduction to the AWS SDK for GoLang

This demo demonstrates how simple it is to load the AWS SDK and start operating on services.

To build the demo:

➜  100-dodeva-31-demos-golang git:(demo_1) ✗ cd demos/sdk
➜  sdk git:(demo_1) ✗ go build -o app.out

To run the demo:

➜  sdk git:(demo_1) ✗ ./app.out 

AWS SDK Links

Demo 2 : Use IAM and S3 together

This demo demonstrates how simple to use S3 and IAM services to accomplish some tasks. In its initial form, it creates a bucket following {prefix}-{account number}-{region} pattern

To build the demo:

➜  100-dodeva-31-demos-golang git:(demo_2) ✗ cd demos/iam-demo
➜  sdk git:(demo_2) ✗ go build -o app.out

To run the demo:

➜  sdk git:(demo_2) ✗ ./app.out -prefix={some bucket name prefix}

AWS SDK Links