+ All Categories
Home > Documents > A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS...

A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS...

Date post: 21-May-2020
Category:
Upload: others
View: 10 times
Download: 0 times
Share this document with a friend
23
A Software Developer Guide to Working with AWS Dror Helper | http://helpercode.com | @dhelper
Transcript
Page 1: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

A Software Developer Guide to Working with AWSDror Helper | http://helpercode.com | @dhelper

Page 2: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Consultant & software architect

Developing software since 2002Clean Coder & Test Driven Developer

Pluralsight authorhttps://www.pluralsight.com/authors/dror-helper

B: http://helpercode.comT: @dhelper

About.ME

Page 3: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Let me tell you a story

Page 4: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Performance issues → no problems

Page 5: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

What happened to my DB!?

Page 6: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

I need to pay how much!?

Page 7: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

What went wrong?

Single region/AZ deployment

Data and files stored “locally” (EBS)

No horizontal scaling

Wrong type of EC2 for DB

No expense estimation

Did not use AWS capabilities

Page 8: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

The AWS Cloud

https://aws.amazon.com/about-aws/global-infrastructure/

Page 9: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Elastic costs

Security considerations

Different performance

Need to know and understand your services

Where do I start?

Page 10: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Getting started with AWS

1. Create a new AWS account

2. Log in to your new account

3. Open Identity and Access Management (IAM)

4. Create an “administrator” user

5. Log out & log in using the new user

6. Never, ever use the root account again

* It’s also a good idea to add 2FA

Page 11: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Identity & Account Management Users & Groups

Roles

Policies

Page 12: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Now What???

Page 13: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Deciding on Compute type:

Execution duration

Number of calls per min/hour/day

Number of running instances

Organization’s DevOp

Page 14: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Networking

Public or Private?

Who needs to access your resources?

Which resources need to be in the same network?

What networks components do you need?

Page 15: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

VPC in Action

Page 16: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Architecting for High Availability

Page 17: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Storage & Databases

EBS

HD on the cloud

EFS

network share

S3

Infinite file store

RDS

Rational Database Service

DynamoDB

Document DB

Page 18: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Using services from your code

REST API SDKs

IDE toolkits

Command line

Page 19: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Run & test services on your machineUnit tests

• Fake “AWS” classes

Integration tests

• Altassian Localstack• GoAWS• DynamoDB Local• SAM Local

Use Docker to create your

environment

Page 20: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

DEMOCalling AWS from your code

Source code: https://github.com/dhelper/DotNetCoreAWS

Page 21: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

How much does it cost?

https://calculator.s3.amazonaws.com/index.html

Page 22: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Getting started with AWS

Create a new AWS Account: https://aws.amazon.com/free/

Hands on tutorials & Labs:

• https://aws.amazon.com/getting-started/

• https://aws.amazon.com/getting-started/tutorials/

Find online courses

Prepare for the AWS certification exam

Page 23: A Software Developer Guide to Working with AWS · Getting started with AWS 1. Create a new AWS account 2. Log in to your new account 3. Open Identity and Access Management (IAM) 4.

Thank you ☺Dror Helper | http://helpercode.com | @dhelper


Recommended