flexible api development

16
AWS Cloud Kata for Start-Ups and Developers Hong Kong Flexible API Development Steven Project Manager, Royale International

Upload: amazon-web-services

Post on 14-Apr-2017

182 views

Category:

Technology


0 download

TRANSCRIPT

AWS Cloud Kata for Start-Ups and Developers

Hong

Kong

Flexible API DevelopmentSteven Project Manager, Royale International

AWS Cloud Kata for Start-Ups and Developers

About Royale

https://www.royaleinternational.com

Customized global express delivery solutions since 1980

AWS Cloud Kata for Start-Ups and Developers

New Business Model

AWS Cloud Kata for Start-Ups and Developers

Multiple data exchange format

File

• Excel

• CSV

• Text

API

AWS Cloud Kata for Start-Ups and Developers

Multiple data exchange format

File

• Excel

• CSV

• Text

API

Amazon S3SFTP ServerAmazon

Lambda

Amazon

Lambda

AWS Cloud Kata for Start-Ups and Developers

Client A

• Func Hello World

Client B

• Func Hello Peter

Client C

• Func Hello Amy

Standard? Customization?

API Server

Hello X

AWS Cloud Kata for Start-Ups and Developers

Client A

• Func Hello World

Client B

• Func Hello Peter

Client C

• Func Hi Amy

Standard? Customization?

API Server

Hello X Hi X

Hey XYo X

Yeah

X

Hi Hi

X

Kiss X

AWS Cloud Kata for Start-Ups and Developers

Client A

• Func Hello World

Client B

• Func Hello Peter

Client C

• Func Hello Amy

Standard? Customization?

Hello X

Hi XFunc Hi Amy

AWS Cloud Kata for Start-Ups and Developers

Performance? Downtime? $$?

Application Server

Hello X

Hey X

Hi Hi

X

Kiss X

Client A

Client B

Client C

External

User

Internal

User

exec every 30s

9am to 11am

exec every 5s

5:30am to 3pm

exec every 3s

2:30pm to 8pm

AWS Cloud Kata for Start-Ups and Developers

Performance? Downtime? $$?

API Server

Hello X

Hey X

Hi Hi

X

Kiss X

Client A

Client B

Client C

External

User

Internal

User

Application Server

AWS Cloud Kata for Start-Ups and Developers

Performance? Downtime? $$?

API Server

Hello X

Hey X

Hi Hi

X

Kiss X

Client A

Client B

Client C

Bug? Error?

New Idea?

Restart IIS / Apache?Restart Server?

AWS Cloud Kata for Start-Ups and Developers

Performance? Downtime? $$?

API Server

Hello X

Hey X

Hi Hi

X

Kiss X

Client A

Client B

Client C

exec every 30s

9am to 11am

exec every 5s

5:30am to 3pm

exec every 3s

2:30pm to 8pm

1am 11pm

Resourc

e

Time

You still need to pay for it

AWS Cloud Kata for Start-Ups and Developers

Continuous

scaling

No servers to

manage

Never pay for idle

– no cold servers

Benefits of AWS Lambda

AWS Cloud Kata for Start-Ups and Developers

Benefits of Amazon API Gateway

Create a unified API

front end for multiple

microservices

DDoS protection

and throttling for

back-end systems

Authenticate and

authorize requests

AWS Cloud Kata for Start-Ups and Developers

Use Case – Store Capacity Check

Client Lambda Function DynamoDBAPI Gateway

API Gateway for https access

Lambda connect to DyanamoDB and get capacity for each store

DyanamoDB storing instance capacity information

AWS Cloud Kata for Start-Ups and Developers

Thank you!