Your APIs can be soft and fluffy
-
Upload
shiva-narayanaswamy -
Category
Internet
-
view
269 -
download
3
Transcript of Your APIs can be soft and fluffy
APIdays NZ 2015
Your APIs can be soft and fluffy in the cloud
Shiva N (@shivamaan) Solution Architect
APIdays NZ 2015
APIdays NZ 2015
API Management
APIs
Access Control & Security
Metrics, Monitoring & Analytics
Infrastructure and backend systems
Billing
APIdays NZ 2015
Application
Files
DB
API Calls
Websites(JavaScriptApps)
MobileApps
Wearable
Services
API Calls
Authentication& Authorization
API Calls
Caching and Throttling
Business Logic
Monitoring and Analytics
APIdays NZ 2015
Challenges
§ Identity and Access control
§ Metrics, Monitoring and Analytics
§ Infrastructure (Compute and Storage)
§ Scaling
APIdays NZ 2015
No server is easier to manage than “no server”Werner Vogels
APIdays NZ 2015
AuthenticationProviders
End Users
UserCredentials
AuthenticationToken
Amazon CognitoIdentity Broker
Identity Pool Id(Token)
Identity IdAWS Temp Credentials(Depending onAuth / Unauth Role)
Access toAWS Services(Including AmazonAPI Gateway)
Identity IdAWS Temp Credentials
AmazonMobile Analytics
Amazon CognitoSync Store
K / VCheck Token
Identity & Access Control
APIdays NZ 2015
Cloudwatch Metrics
APIdays NZ 2015
Cloudwatch Dashboards
APIdays NZ 2015
Compute
EC2, Autoscaling
PHPPythonJavaRuby
Node.js.NETGo
Docker
Elastic BeanstalkElastic Container Service
Control Convenience
APIdays NZ 2015
Business Logic
AWSLambda
AWS LambdaFunctions
AmazonAPI Gateway
Amazon S3
AmazonDynamoDB
Amazon CognitoSync Store
K / VAmazonSNS
AmazonKinesis
IoT Devices
HTTPSInvoke
CustomEvents
HTTPSREST
API Call
Compute – Event Driven
APIdays NZ 2015
Storage
Data Warehouse
Redshift
Cache
Elasticache
NoSQL
Dynamo DB
Relational Database
RDS
Object Store
S3
APIdays NZ 2015
Internet
Mobile Apps
Websites
Services
API Gateway
AWS Lambda functions
AWS
API Gateway Cache
Endpoints on Amazon EC2 / Amazon Elastic
Beanstalk
Any other publicly accessible endpoint
Amazon CloudWatch Monitoring
Access Control
Putting it all together
APIdays NZ 2015
λ
λ λ
AmazonAPI Gateway
λ
λ
λλ
Bucket UsageTable
Media MetadataTable
User StatTable
UserLocationTable
K / V
λ
λ
λ
Amazon CognitoIdentity Broker
Amazon CognitoSync Store
AmazonSNS
AmazonKinesis
MediaBucket
LogTable
Authentication&
AuthorizationUpload Picture / VideoUpdate Bucket UsageCheck Bucket Usage
Delete“Over Quota”
Media
Send Notificationto
User / Application
Extract Metadata and Write on DB
UpdateUser Statistics
Call REST APIto Get
Media DescriptionUpload
Location InfoUpdate
User LocationLook for
Users or MediaNear Current Location
Call REST APIto Get
User Info
SyncMedia and User
Rating
WriteHistory of ChangesCheck and Update
Ratings
Invoke
Read
Write / Send
APIdays NZ 2015
Focus on Your Idea
APIdays NZ 2015
Thanks for listening…
Shiva N (@shivamaan)