SlideShare a Scribd company logo
Lamba Micro Service
using
Amazon Api Gateway
For Web Applications
About Us
Mike Becker
Founder /CTO - Wise Agent
University of Technology - 2000
Multi Instrumentalist - Guitars, Sax, Piano, Drums, Vocals
Internet Credentialed Reverend - 11 weddings officiated
Eleni Sommerschield
COO - Wise Agent
DePaul University - 2000
Fluent in Greek
Enjoys spending time with family and friends
Lambda Micro Service
1. Application Delivery
2. Application Requirements
3. AWS Assets
4. Web Assets
5. Process
6. Findings
Lambda Micro Service
Application Delivery
● Native
○ iOS
○ Android
○ Xamarin
● Web
○ Web Application Scaffolding
○ Html, Css, Javascript
○ Delivered from CloudFront / S3 Bucket

Recommended for you

Build and Manage Your APIs with Amazon API Gateway
Build and Manage Your APIs with Amazon API GatewayBuild and Manage Your APIs with Amazon API Gateway
Build and Manage Your APIs with Amazon API Gateway

Amazon API Gateway is a fully managed service that makes it easy for developers to create, deploy, secure and monitor APIs at any scale. In this session, you’ll find out how you can quickly declare an API interface and connect it to any public HTTP endpoint, existing web service running on Amazon Elastic Compute Cloud (Amazon EC2) or code running on AWS Lambda. Amazon API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management. Join us for this introductory session to Amazon API Gateway.

2015 aws summit new yorkaws summitcloud computing
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...

By leveraging "serverless architectures", startups and enterprises are building and running modern applications and services with increased agility and simplified scalability—all without managing a single server. Many applications need to manage user identities and support sign-in/sign-up. In this session, we dive deep on how to support millions of user identities, as well as how to integrate with social identity providers (such as Google and Facebook) and existing corporate directories. You learn the real-world design patterns that AWS customers use to implement authentication and authorization. By combining Amazon Cognito identity pools and user pools with API Gateway, AWS Lambda, and AWS IAM, you can add security without adding servers.

cloud computingamazon web servicesadvanced (300 level)
Aws Technical Day 2015 - Amazon API Gateway
Aws Technical Day 2015 - Amazon API GatewayAws Technical Day 2015 - Amazon API Gateway
Aws Technical Day 2015 - Amazon API Gateway

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. It allows developers to manage multiple versions and stages of APIs, monitor access by third party developers, and handle traffic spikes without operational burden. API Gateway supports features like request throttling, authorization, caching, and SDK generation to help secure and scale APIs.

Lambda Micro Service
Application Requirements
● Deliver Unauthenticated Content
● Provide Authentication
○ Amazon, Facebook, Google, Twitter
○ Developer Credentials
■ Login Account Creation
■ Reset Password
● Handle Session Management
● Deliver Authenticated Content
● Provide Help - Contact Us
Lambda Micro Service
AWS Assets
Lambda
is a service that will allow you to run little
self contained snippets of JS, Java or
Python to do discrete tasks.
API Gateway
Proxy your apps API through this so you can
throttle bad client traffic, test new
versions, and present methods more
cleanly.

Recommended for you

Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway

API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. It allows hosting multiple API versions and stages, generating SDKs, adding authentication, throttling requests, and caching responses to improve performance and reduce latency. API Gateway supports building and deploying REST and WebSocket APIs. Pricing is based on the number of API calls and amount of data transferred out. Optional dedicated caching tiers are also available.

restapisapi gateway
Serverless Authentication and Authorisation
Serverless Authentication and AuthorisationServerless Authentication and Authorisation
Serverless Authentication and Authorisation

By leveraging serverless architectures, organisations are building and running modern applications and services with increased agility and simplified scalability—all without managing a single server. Many applications need to manage user identities and support sign-in/sign-up. In this session, we dive deep on how to support millions of user identities, as well as how to integrate with social identity providers and existing corporate directories. We will show the real-world design patterns that AWS customers use to implement authentication and authorisation. Speaker: Myles Hosford, Security Solutions Architect, Amazon Web Services

awssummitawssummitsydney17aws
Building Serverless Backends with AWS Lambda and Amazon API Gateway
Building Serverless Backends with AWS Lambda and Amazon API GatewayBuilding Serverless Backends with AWS Lambda and Amazon API Gateway
Building Serverless Backends with AWS Lambda and Amazon API Gateway

AWS Lambda is a compute service that runs your code without provisioning or managing servers. Amazon API Gateway is a fully managed service that makes it easy for developers to publish, maintain, monitor, and secure APIs at any scale. This session will familiarize you with the basics of AWS Lambda and Amazon API Gateway and demonstrate how to build web, mobile, and IoT backends using these services. You will learn how to setup API endpoints that trigger AWS Lambda functions to handle mobile, web, IoT, and 3rd party API requests. You will also learn how to use Lambda to read and write to Amazon DynamoDB. We will run through a demo of setting up a simple serverless blogging web application that allows user authentication and the ability to create posts and comments. AWS DevDay San Francisco, June 21, 2016. Presenters: Vyom Nagrani, Ceci Deng

devdaysflambdaamazon web services
Cognito
OAuth as a service, give end users - (non AWS) - the
ability to log in with Google, Facebook, etc.
Amazon Cloudfront
Make your websites load faster by spreading out static
file delivery to be closer to where your users are.
Route 53
Manage DNS records and purchase domains.
Lambda Micro Service
Web Assets
● Html, Css, Javascript
● Hosted on S3
● Sync files to S3 via AWS-CLI.
● Use Angular Scaffolding like Yeoman/Bower/Grunt.
● Add AWS SDK to Bower.
○ bower install aws-sdk-js --save

Recommended for you

Cloud Security-how to create serverless applications
Cloud Security-how to create serverless applicationsCloud Security-how to create serverless applications
Cloud Security-how to create serverless applications

The document discusses securing serverless applications. It provides an overview of AWS Identity and Access Management (IAM), AWS Lambda, Amazon API Gateway, and Amazon Cognito. It then covers securing serverless microservices by discussing securing AWS Lambda functions using IAM roles and resource policies. It also covers securing Amazon API Gateway by discussing authorization types including Cognito, IAM, and custom authorizers. The document concludes by discussing auditing serverless applications using CloudWatch logs, CloudTrail, and AWS Config.

Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. With a few clicks in the AWS Management Console, you can create an API that acts as a “front door” for applications to access data, business logic, or functionality from your back-end services, such as workloads running on Amazon Elastic Compute Cloud (Amazon EC2), code running on AWS Lambda, or any Web application. Amazon API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management. Presented by: Danilo Poccia, Technical Evangelist, Amazon Web Services

aws-summit-nl-2016aws cloudaws
Building APIs with Amazon API Gateway
Building APIs with Amazon API GatewayBuilding APIs with Amazon API Gateway
Building APIs with Amazon API Gateway

API Gateways can simplify the work that a developer needs to do to build API based services by helping to standardize authentication and authorization, consumer interfaces, and management needs. With Amazon API Gateway you get all of this and more, including a completely serverless management of your APIs and the ability to host them at almost any scale. You also can get the benefits of the numerous types of APIs that are supported, from pubic to private, REST to Websockets, backed by almost any backend you can think of. In this session we’ll review the powerful capabilities of Amazon API Gateway and how you can get started building awesome APIs. Speaker: Chris Munns - Principal Developer Advocate, AWS Serverless Applications, AWS

awsamazon-web-servicescloud
Lambda Micro Service
Process - Website Setup
● Create a web template using yeoman.
○ Add the views listed in the requirements.
● Set up your S3 Bucket.
○ bucket must be named “subdomain.domain.tld”
● Set up a SSL certificate in the AWS Certificate Manager (ACM).
● Set up Amazon CloudFront.
○ Point to your bucket and subdomain.
○ Use the custom certificate option and select your certificate.
● Create a CNAME entry for your subdomain on Route 53 and enter your
CloudFront domain name for its value.
● Build your project and sync to your S3 bucket.
○ aws s3 sync dist s3://yourbucket
Lamdba micro service using Amazon Api Gateway
Lambda Micro Service
Process - Social Integrations
● Set up your application on Amazon Login, Facebook, etc.
○ Add your authorized site or javascript origins.
○ Add your Valid OAuth return URLs.
○ Some will even accept your localhost for testing.
● Download sample OAuth scripts from the providers.
○ Instructions for setting up the scripts can be found online.
○ Place the download scripts in your index.html and the returnToken
scripts in your scripts.js file.
○ Test your authorizations, you should be able to return token and fetch
user info.
Lambda Micro Service
Process - Social Integrations
● Create a new Cognito Identity Pool.
○ Create unauthenticated and authenticated IAM roles.
○ Add your providers’ app ids to the Authentication Providers section.
○ Create a custom provider for your developer authentication.
● Edit the authorized role in IAM by adding lambda and execute-api invoking
rights.

Recommended for you

Simple Security for Startups
Simple Security for StartupsSimple Security for Startups
Simple Security for Startups

The document discusses simple security best practices for startups using AWS. It recommends locking away root credentials, creating individual IAM users with least privilege, and using roles, MFA, and rotating credentials. It also discusses encrypting data at rest using services like S3, EBS, RDS, and Redshift, and encrypting data in transit using SSL. Logging and auditing can be done with CloudTrail. The Well-Architected Framework and Trusted Advisor provide guidance on security, reliability, performance efficiency and cost optimization.

amazon web servicesiamvpc
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...

This document provides an overview of building API-driven microservices with Amazon API Gateway. It introduces Amazon API Gateway and how it can be used to create, publish, maintain, monitor, and secure APIs. It discusses different options for deploying microservices, including using EC2, ECS, and AWS Lambda. It also covers securing APIs with IAM, custom authorizers, and Cognito user pools. Finally, it discusses tools like Swagger/OpenAPI, Chalice, SAM, and SAM Local that can be used to define and deploy serverless applications and APIs.

microservicesapisapi management
Getting Started with Cognito User Pools - September Webinar Series
Getting Started with Cognito User Pools - September Webinar SeriesGetting Started with Cognito User Pools - September Webinar Series
Getting Started with Cognito User Pools - September Webinar Series

You can now use Amazon Cognito to easily add user sign-up and sign-in to your mobile and web apps instead of worrying about user management, authentication, and sync across platforms and devices. With the User Pools feature, you can create your own user directory that can scale to hundreds of millions of users, and is fully managed so you don’t have to worry about building, securing, and scaling authentication to your apps. In this webinar, we will walk your through adding the process of adding user sign-up and sign-in to your mobile and web apps. Learning Objectives: *Learn to add user sign-up and sign-in to your mobile and web apps quickly and easily *Authenticate users through social identity providers such as Facebook, Twitter, or Amazon and provide secure access to AWS resources

mobile developersidentity managementmobile app development
Lambda Micro Service
Process - Social Integrations
● Cognito Credentials in Javascript
○ Credential the unauthenticated
user with Cognito on
document ready.
○ When the token returns from
provider, obtain credentials
using the token.
Lambda Micro Service
Process - Lambda Function
● Create login Lambda function
○ Click “Create a Lambda function”.
○ Select simple-mobile-backend.
○ Name the function “DeveloperLogin”.
○ Under Role, select the suggested “Basic with DynamoDB”.
○ A new IAM Role will be created, click allow.
○ Leave the memory and timeout settings alone for now.
○ Then you will see….
A new section to configure Lambda to
access resources, such as EC2
databases, within your VPC!
Lambda Micro Service
Process - Lambda Functions
○ Select “no vpc”.
○ Click next and create function.
● Open the new Lambda_Dynamo role in IAM and attach the policy named
“AmazonCognitoDeveloperAuthenticatedIdentities”.
● Create a table for logins in DynamoDB to store your email and hashed
password, use email as the key.
● Create another table to store keys to retrieve lost passwords.
● Return to the Lambda function and create a test event.

Recommended for you

Building Scalable Services with Amazon API Gateway - Technical 201
Building Scalable Services with Amazon API Gateway - Technical 201Building Scalable Services with Amazon API Gateway - Technical 201
Building Scalable Services with Amazon API Gateway - Technical 201

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. It allows developers to create a unified API that acts as a gateway for multiple backend services, providing features like authentication, throttling, monitoring and documentation. The document discusses Amazon API Gateway and how it can be used with AWS Lambda to build scalable and secure APIs. It also provides a case study of how shipping company Temando used API Gateway and Lambda to migrate their monolithic architecture to a microservices approach.

2016sydsummit
Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...
Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...
Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...

You can now use Amazon Cognito to easily add user sign-up and sign-in to your mobile and web apps instead of worrying about user management, authentication, and sync across platforms and devices. With the User Pools feature, you can create your own user directory that can scale to hundreds of millions of users, and is fully managed so you don’t have to worry about building, securing, and scaling authentication to your apps. In this webinar, we will walk your through adding the process of adding user sign-up and sign-in to your mobile and web apps. Learning Objectives: • Learn to add user sign-up and sign-in to your mobile and web apps quickly and easily • Authenticate users through social identity providers such as Facebook, Twitter, or Amazon and provide secure access to AWS resources

mobilecognitowebinar
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB

Get a hands-on walkthrough of how to quickly build a mobile game with online services like user authentication, downloadable content, and social features. Using the AWS Mobile SDK for Unity, iOS, and Android, it's easier than ever to build a game with these services. This session provides a step-by-step approach to add features to your game such as user identity management, dynamic content updates, cross-platform data sync, and more. We demonstrate how to use the AWS Mobile SDK to securely interact with services such as Amazon Cognito, Amazon DynamoDB, Amazon S3, and AWS Lambda.

reinvent2015gam401cloud
Lambda Micro Service
Process - Lambda Functions
Test Event Parameters
{
"email": "beck@r.com",
"password": "anythingbutpassword",
"operation": "login"
}
Lambda Micro Service
Process - Lambda Functions
● You will need these includes and account credentials in the code.
○ var doc = require('dynamodb-doc');
○ var dynamodb = new doc.DynamoDB();
○ var crypto = require('crypto');
○ var AWS = require('aws-sdk');
○ var AWS_ACCOUNT_ID = ‘XXXXXXX’;
○ var AWS_Region = 'us-east-1';
○ var COGNITO_IDENTITY_POOL_ID = 'us-east-1:XXXXXXXXXX';
● Now add cases for login, reset password, etc. to the code.
Lambda Micro Service
Process - Lambda Functions
● After a successful login request, call getOpenIdTokenForDeveloperIdentity.
var params = {
IdentityPoolId: 'us-east-1:XXXXXXXXXXXXX',
Logins: { 'login.testapp.com': event.email },
TokenDuration: 3600
};
var cognitoidentity = new AWS.CognitoIdentity();
cognitoidentity.getOpenIdTokenForDeveloperIdentity(params, function(err, data) {
if (err){ // an error occurred
token = "0";
context.fail("no token");
} else { // successful response
token = { 'id' : data.IdentityId, "token": data.Token } ;
context.succeed(token);
}
});
Lambda Micro Service
Process - Lambda Functions
● Create another Lambda function with “Basic with DynamoDB” as a template
and attach SES sending privileges to your role.
● Create functions in your code for sending password resets and emails to
your customer service ticket system.
● Create another Lambda function to be return your “Authorized Content”.
○ Use the lambda-micro-service template.
○ Set up test event parameters.

Recommended for you

Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...
Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...
Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...

This session will show you how to get started quickly by covering key architectural design concepts and demonstrating the use of the AWS SDKs to simplify creating powerful applications for the always-on world that connects beyond the desktop.

awssydneysummit2015
Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...
Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...
Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...

In this talk, we’ll take well known architectural patterns such as 3-tier web application, stream processing, scheduled jobs and show how they can be realized without needing to manage servers.

solution-architecture-and-best-practiceslambdastartups
Delivering on Personalization with the Power of APIs
Delivering on Personalization with the Power of APIsDelivering on Personalization with the Power of APIs
Delivering on Personalization with the Power of APIs

• Why is personalization important for capturing and delighting customers? • What are the main drivers of personalization, with examples? • What is an API? • How are companies using APIs and personalization to rethink the customer experience? • How can companies innovate to deliver a more personalized experience with APIs?

apiapplication programming interfacepersonalization
Lambda Micro Service
Process - API Gateway Creation
● Create new API.
● Create resources Login, Contact, Reset, Session.
● Add POST Method to login.
○ Select Lambda function and region.
○ Enter DeveloperLogin for the function and save.
○ Leave the Message Request settings as default.
● Select the Login resource and click “Enable Cors”.
○ Leave the settings as ‘*’ if you want to access via native/localhost.
○ Or, enter ‘*.yourdomain.tld’.
● Click “Deploy API” and create a new stage.
Lambda Micro Service
Process - API Gateway Creation
● On the stage view, generate a javascript sdk that will sign requests.
● Download, add to your project, and include the reference in index.html.
● Add the appropriate calls to your project, scripts.js file.
● Your login function should return with and id and token.
● Add an AWS.STS object and call assumeRoleWithWebIdentity to retrieve
your Cognito credentials.
After any changes to the API Gateway,
you must re-deploy to see the update.
Lambda Micro Service
Process - API Gateway Creation
● Open Resources and select the session resource.
○ Add a POST method and point it to your lambda function that returns
your sample “Authenticated Content”.
○ Select “AWS_IAM” for the Authentication method on the Method Request.
○ Deploy the API.
Lambda Micro Service
Process - Finish
● Add a view to your application and
a function to call when the view
loads.
● save the Cognito id and the
credentials object in a global
variables.
● The unauthenticated role should
through a 403 error and load the
login view.
● The authenticated should return
your lambda output.

Recommended for you

Module 10 - Session 2 ICTs and environmental observation 20110223
Module 10 - Session 2 ICTs and environmental observation 20110223Module 10 - Session 2 ICTs and environmental observation 20110223
Module 10 - Session 2 ICTs and environmental observation 20110223

The role of ICTs for environmental observation. Collecting and helping to interpret and model the environment and more specifically the climate are key to climate action. Wireless sensor networks, the IoT, embedded microprocessors, remote sensing and earth observation systems, etc. are described. Today, they continue to be very important and their role and use os growing. Slide presentations developed to demonstrate how Information and Communication Technologies (ICTs) be used to address climate change, and why ICTs are a crucial part of the solution – i.e. in promoting efficiency, Green Growth & sustainable development, in dealing with climate change and for climate and environmental action. These slide presentations were delivered in February 2011 in Seongnam, near Seoul in Korea. These presentations were developed and delivered over 2.5 days on the occasion of a Regional Training of Trainers Workshop for upcoming Academy modules on ICT for Disaster Risk Management and Climate Change Abatement. These modules were developed as part of the Academy of ICT Essentials for Government leaders developed by the United Nations (UN) Asia Pacific Centre for ICT Training (APCICT), based in Songdo City, in the Republic of South Korea. These presentations were developed in 2011, and are somewhat out of date, but most of the principles still apply. Module 10, which has been published, does not include much of the information outlined in these presentations, which are fairly technical. They were developed to address a significant gap in understanding of the technical basis of using ICTs for climate action and because there is a clear bias in development circles against the importance of dealing with climate change mitigation in developing countries. These presentations are an attempt to redress this lack and are published here with this purpose in mind. The author, Richard Labelle, is presently working on updating these presentations to further highlight the importance of addressing climate change and the important role that technology including ICTs, play in this effort.

adaptationledict4d
Are APIs and SOA Converging?
Are APIs and SOA Converging?Are APIs and SOA Converging?
Are APIs and SOA Converging?

The document discusses the relationship between APIs and SOA. It notes that while SOA was initially focused on standards like SOAP, WSDL, and UDDI, APIs provide a simpler and more developer-friendly interface. However, APIs and SOA also have overlapping characteristics and can both be used internally or externally. The document argues that organizations need both APIs and SOA to balance ease-of-use with management concerns like security, documentation, and lifecycles.

samloauthsoa
Is it time for a Connector-less Approach to Cloud Integration?
Is it time for a Connector-less Approach to Cloud Integration? Is it time for a Connector-less Approach to Cloud Integration?
Is it time for a Connector-less Approach to Cloud Integration?

In this webinar you will learn: • How to drastically cut down time to complete integration projects and integrate an unprecedented number of SaaS and cloud applications within your eco-system. • Why ESB’s and connector-based integration do not scale. • How APIs are redefining integration. • A cloud integration blueprint for the Digital Enterprise. • How a connector-less architecture can improve productivity.

soasoa softwareapi
Lambda Micro Service
Findings
1. I don’t recommend attaching an API Gateway via the Lambda interface. Use
the Api Gateway.
2. Api Gateway Resources
a. It would be useful view/edit existing CORS settings.
b. Deploy after each change, or you won’t see it on your endpoint.
3. I was able to use the same microservice with my native application, as well
as this web application.
4. With VPC, The possibilities with Lambda integration are endless.
Lambda Micro Service
Links
● https://github.com/aws/aws-sdk-js
● http://yeoman.io/
● https://blogs.aws.amazon.com/javascript/post/Tx1F7FO6GDAIXD3/Authentication-
with-Amazon-Cognito-in-the-Browser
● http://docs.aws.amazon.com/cognito/devguide/identity/developer-authenticated-
identities/
● http://backspace.technology/learn-aws-cognito-id.html
● http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom-
authorizer.html
● http://www.slideshare.net/AmazonWebServices/dev203-amazon-api-gateway-aws-
lambda-to-build-secure-apis
● https://auth0.com/docs/integrations/aws-api-gateway/part-1
● http://cloudacademy.com/blog/amazon-cognito-manage-mobile-data/
Questions
???
Thank You

Recommended for you

Best Practices: The Role of API Management
Best Practices: The Role of API ManagementBest Practices: The Role of API Management
Best Practices: The Role of API Management

The API Economy is exploding, and this presentation explains how to extend your brand, accelerate new channel adoption and operate with API best practices.

application integrationmobileappapplication programming interface
Platform for Secure Digital Business
Platform for Secure Digital BusinessPlatform for Secure Digital Business
Platform for Secure Digital Business

Digital is disrupting the physical world with new business models. In this presentation from SOA Software VP of Product Marketing, Sachin Agarwal, learn how APIs are used to drive new digital channels securely and safely.

soa softwaresoaapi
Realizing SOA and API Convergence
Realizing SOA and API ConvergenceRealizing SOA and API Convergence
Realizing SOA and API Convergence

Both SOA and API management technology have important things to say about the future capabilities of your IT infrastructure. API technology brings a strong focus to the consumption of your backend IT resources within a well-managed community of API developers and mobile app developers.

soaservice_oriented_architectureapi application_programming_interface saml oauth s

More Related Content

What's hot

AWS July Webinar Series: Overview: Build and Manage your APIs with Amazon API...
AWS July Webinar Series: Overview: Build and Manage your APIs with Amazon API...AWS July Webinar Series: Overview: Build and Manage your APIs with Amazon API...
AWS July Webinar Series: Overview: Build and Manage your APIs with Amazon API...
Amazon Web Services
 
AWS API Gateway - AJUG August 2018
AWS API Gateway - AJUG August 2018AWS API Gateway - AJUG August 2018
AWS API Gateway - AJUG August 2018
Yoel Spotts
 
2016 - Serverless Microservices on AWS with API Gateway and Lambda
2016 - Serverless Microservices on AWS with API Gateway and Lambda2016 - Serverless Microservices on AWS with API Gateway and Lambda
2016 - Serverless Microservices on AWS with API Gateway and Lambda
devopsdaysaustin
 
Build and Manage Your APIs with Amazon API Gateway
Build and Manage Your APIs with Amazon API GatewayBuild and Manage Your APIs with Amazon API Gateway
Build and Manage Your APIs with Amazon API Gateway
Amazon Web Services
 
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
Amazon Web Services
 
Aws Technical Day 2015 - Amazon API Gateway
Aws Technical Day 2015 - Amazon API GatewayAws Technical Day 2015 - Amazon API Gateway
Aws Technical Day 2015 - Amazon API Gateway
aws-marketing-il
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
Mark Bate
 
Serverless Authentication and Authorisation
Serverless Authentication and AuthorisationServerless Authentication and Authorisation
Serverless Authentication and Authorisation
Amazon Web Services
 
Building Serverless Backends with AWS Lambda and Amazon API Gateway
Building Serverless Backends with AWS Lambda and Amazon API GatewayBuilding Serverless Backends with AWS Lambda and Amazon API Gateway
Building Serverless Backends with AWS Lambda and Amazon API Gateway
Amazon Web Services
 
Cloud Security-how to create serverless applications
Cloud Security-how to create serverless applicationsCloud Security-how to create serverless applications
Cloud Security-how to create serverless applications
Amazon Web Services
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
Amazon Web Services
 
Building APIs with Amazon API Gateway
Building APIs with Amazon API GatewayBuilding APIs with Amazon API Gateway
Building APIs with Amazon API Gateway
Amazon Web Services
 
Simple Security for Startups
Simple Security for StartupsSimple Security for Startups
Simple Security for Startups
Mark Bate
 
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...
Amazon Web Services
 
Getting Started with Cognito User Pools - September Webinar Series
Getting Started with Cognito User Pools - September Webinar SeriesGetting Started with Cognito User Pools - September Webinar Series
Getting Started with Cognito User Pools - September Webinar Series
Amazon Web Services
 
Building Scalable Services with Amazon API Gateway - Technical 201
Building Scalable Services with Amazon API Gateway - Technical 201Building Scalable Services with Amazon API Gateway - Technical 201
Building Scalable Services with Amazon API Gateway - Technical 201
Amazon Web Services
 
Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...
Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...
Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...
Amazon Web Services
 
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
Amazon Web Services
 
Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...
Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...
Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...
Amazon Web Services
 
Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...
Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...
Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...
Amazon Web Services
 

What's hot (20)

AWS July Webinar Series: Overview: Build and Manage your APIs with Amazon API...
AWS July Webinar Series: Overview: Build and Manage your APIs with Amazon API...AWS July Webinar Series: Overview: Build and Manage your APIs with Amazon API...
AWS July Webinar Series: Overview: Build and Manage your APIs with Amazon API...
 
AWS API Gateway - AJUG August 2018
AWS API Gateway - AJUG August 2018AWS API Gateway - AJUG August 2018
AWS API Gateway - AJUG August 2018
 
2016 - Serverless Microservices on AWS with API Gateway and Lambda
2016 - Serverless Microservices on AWS with API Gateway and Lambda2016 - Serverless Microservices on AWS with API Gateway and Lambda
2016 - Serverless Microservices on AWS with API Gateway and Lambda
 
Build and Manage Your APIs with Amazon API Gateway
Build and Manage Your APIs with Amazon API GatewayBuild and Manage Your APIs with Amazon API Gateway
Build and Manage Your APIs with Amazon API Gateway
 
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
AWS re:Invent 2016: Serverless Authentication and Authorization: Identity Man...
 
Aws Technical Day 2015 - Amazon API Gateway
Aws Technical Day 2015 - Amazon API GatewayAws Technical Day 2015 - Amazon API Gateway
Aws Technical Day 2015 - Amazon API Gateway
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
Serverless Authentication and Authorisation
Serverless Authentication and AuthorisationServerless Authentication and Authorisation
Serverless Authentication and Authorisation
 
Building Serverless Backends with AWS Lambda and Amazon API Gateway
Building Serverless Backends with AWS Lambda and Amazon API GatewayBuilding Serverless Backends with AWS Lambda and Amazon API Gateway
Building Serverless Backends with AWS Lambda and Amazon API Gateway
 
Cloud Security-how to create serverless applications
Cloud Security-how to create serverless applicationsCloud Security-how to create serverless applications
Cloud Security-how to create serverless applications
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
Building APIs with Amazon API Gateway
Building APIs with Amazon API GatewayBuilding APIs with Amazon API Gateway
Building APIs with Amazon API Gateway
 
Simple Security for Startups
Simple Security for StartupsSimple Security for Startups
Simple Security for Startups
 
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...
Building API-Driven Microservices with Amazon API Gateway - AWS Online Tech T...
 
Getting Started with Cognito User Pools - September Webinar Series
Getting Started with Cognito User Pools - September Webinar SeriesGetting Started with Cognito User Pools - September Webinar Series
Getting Started with Cognito User Pools - September Webinar Series
 
Building Scalable Services with Amazon API Gateway - Technical 201
Building Scalable Services with Amazon API Gateway - Technical 201Building Scalable Services with Amazon API Gateway - Technical 201
Building Scalable Services with Amazon API Gateway - Technical 201
 
Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...
Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...
Getting Started with your User Pools in Amazon Cognito - AWS June 2016 Webina...
 
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
(GAM401) Build a Serverless Mobile Game w/ Cognito, Lambda & DynamoDB
 
Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...
Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...
Mobile Applications and The Internet of Things: AWS Lambda & AWS Cognito – Ad...
 
Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...
Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...
Serverless Patterns: “No server is easier to manage than no server” - AWS Sec...
 

Viewers also liked

Delivering on Personalization with the Power of APIs
Delivering on Personalization with the Power of APIsDelivering on Personalization with the Power of APIs
Delivering on Personalization with the Power of APIs
Akana
 
Module 10 - Session 2 ICTs and environmental observation 20110223
Module 10 - Session 2 ICTs and environmental observation 20110223Module 10 - Session 2 ICTs and environmental observation 20110223
Module 10 - Session 2 ICTs and environmental observation 20110223
Richard Labelle
 
Are APIs and SOA Converging?
Are APIs and SOA Converging?Are APIs and SOA Converging?
Are APIs and SOA Converging?
Akana
 
Is it time for a Connector-less Approach to Cloud Integration?
Is it time for a Connector-less Approach to Cloud Integration? Is it time for a Connector-less Approach to Cloud Integration?
Is it time for a Connector-less Approach to Cloud Integration?
Akana
 
Best Practices: The Role of API Management
Best Practices: The Role of API ManagementBest Practices: The Role of API Management
Best Practices: The Role of API Management
Akana
 
Platform for Secure Digital Business
Platform for Secure Digital BusinessPlatform for Secure Digital Business
Platform for Secure Digital Business
Akana
 
Realizing SOA and API Convergence
Realizing SOA and API ConvergenceRealizing SOA and API Convergence
Realizing SOA and API Convergence
Akana
 
Powering Internal API Communities
Powering Internal API CommunitiesPowering Internal API Communities
Powering Internal API Communities
Akana
 
HP Wearables and IoT - Our Story - Christine Hawkins
HP Wearables and IoT - Our Story - Christine HawkinsHP Wearables and IoT - Our Story - Christine Hawkins
HP Wearables and IoT - Our Story - Christine Hawkins
WithTheBest
 
AI Then & Now
AI Then & NowAI Then & Now
AI Then & Now
Narrative Science
 
Manage Your Mesh
Manage Your MeshManage Your Mesh
Manage Your Mesh
Akana
 
IoT the driver of Business Innovation: better products, new services and...
IoT the driver of  Business Innovation: better products, new  services  and...IoT the driver of  Business Innovation: better products, new  services  and...
IoT the driver of Business Innovation: better products, new services and...
Eurotech
 
The Business Value for Internal APIs in the Enterprise
The Business Value for Internal APIs in the EnterpriseThe Business Value for Internal APIs in the Enterprise
The Business Value for Internal APIs in the Enterprise
Akana
 
Outlook on Artificial Intelligence in the Enterprise 2016
Outlook on Artificial Intelligence in the Enterprise 2016Outlook on Artificial Intelligence in the Enterprise 2016
Outlook on Artificial Intelligence in the Enterprise 2016
Narrative Science
 
The internet of things the next technology revolution
The internet of things the next technology revolutionThe internet of things the next technology revolution
The internet of things the next technology revolution
usman sarwar
 
Customer Segmentation: Design and Delivery (Webinar)
Customer Segmentation: Design and Delivery (Webinar)Customer Segmentation: Design and Delivery (Webinar)
Customer Segmentation: Design and Delivery (Webinar)
CGAP
 
Iot 1906 - approaches for building applications with the IBM IoT cloud
Iot 1906 - approaches for building applications with the IBM IoT cloudIot 1906 - approaches for building applications with the IBM IoT cloud
Iot 1906 - approaches for building applications with the IBM IoT cloud
PeterNiblett
 
Modernizing an Existing SOA-based Architecture with APIs
Modernizing an Existing SOA-based Architecture with APIsModernizing an Existing SOA-based Architecture with APIs
Modernizing an Existing SOA-based Architecture with APIs
Apigee | Google Cloud
 
Digital Healthcare – Realizing Interoperability with APIs
Digital Healthcare – Realizing Interoperability with APIsDigital Healthcare – Realizing Interoperability with APIs
Digital Healthcare – Realizing Interoperability with APIs
Akana
 
API Description Languages
API Description LanguagesAPI Description Languages
API Description Languages
Akana
 

Viewers also liked (20)

Delivering on Personalization with the Power of APIs
Delivering on Personalization with the Power of APIsDelivering on Personalization with the Power of APIs
Delivering on Personalization with the Power of APIs
 
Module 10 - Session 2 ICTs and environmental observation 20110223
Module 10 - Session 2 ICTs and environmental observation 20110223Module 10 - Session 2 ICTs and environmental observation 20110223
Module 10 - Session 2 ICTs and environmental observation 20110223
 
Are APIs and SOA Converging?
Are APIs and SOA Converging?Are APIs and SOA Converging?
Are APIs and SOA Converging?
 
Is it time for a Connector-less Approach to Cloud Integration?
Is it time for a Connector-less Approach to Cloud Integration? Is it time for a Connector-less Approach to Cloud Integration?
Is it time for a Connector-less Approach to Cloud Integration?
 
Best Practices: The Role of API Management
Best Practices: The Role of API ManagementBest Practices: The Role of API Management
Best Practices: The Role of API Management
 
Platform for Secure Digital Business
Platform for Secure Digital BusinessPlatform for Secure Digital Business
Platform for Secure Digital Business
 
Realizing SOA and API Convergence
Realizing SOA and API ConvergenceRealizing SOA and API Convergence
Realizing SOA and API Convergence
 
Powering Internal API Communities
Powering Internal API CommunitiesPowering Internal API Communities
Powering Internal API Communities
 
HP Wearables and IoT - Our Story - Christine Hawkins
HP Wearables and IoT - Our Story - Christine HawkinsHP Wearables and IoT - Our Story - Christine Hawkins
HP Wearables and IoT - Our Story - Christine Hawkins
 
AI Then & Now
AI Then & NowAI Then & Now
AI Then & Now
 
Manage Your Mesh
Manage Your MeshManage Your Mesh
Manage Your Mesh
 
IoT the driver of Business Innovation: better products, new services and...
IoT the driver of  Business Innovation: better products, new  services  and...IoT the driver of  Business Innovation: better products, new  services  and...
IoT the driver of Business Innovation: better products, new services and...
 
The Business Value for Internal APIs in the Enterprise
The Business Value for Internal APIs in the EnterpriseThe Business Value for Internal APIs in the Enterprise
The Business Value for Internal APIs in the Enterprise
 
Outlook on Artificial Intelligence in the Enterprise 2016
Outlook on Artificial Intelligence in the Enterprise 2016Outlook on Artificial Intelligence in the Enterprise 2016
Outlook on Artificial Intelligence in the Enterprise 2016
 
The internet of things the next technology revolution
The internet of things the next technology revolutionThe internet of things the next technology revolution
The internet of things the next technology revolution
 
Customer Segmentation: Design and Delivery (Webinar)
Customer Segmentation: Design and Delivery (Webinar)Customer Segmentation: Design and Delivery (Webinar)
Customer Segmentation: Design and Delivery (Webinar)
 
Iot 1906 - approaches for building applications with the IBM IoT cloud
Iot 1906 - approaches for building applications with the IBM IoT cloudIot 1906 - approaches for building applications with the IBM IoT cloud
Iot 1906 - approaches for building applications with the IBM IoT cloud
 
Modernizing an Existing SOA-based Architecture with APIs
Modernizing an Existing SOA-based Architecture with APIsModernizing an Existing SOA-based Architecture with APIs
Modernizing an Existing SOA-based Architecture with APIs
 
Digital Healthcare – Realizing Interoperability with APIs
Digital Healthcare – Realizing Interoperability with APIsDigital Healthcare – Realizing Interoperability with APIs
Digital Healthcare – Realizing Interoperability with APIs
 
API Description Languages
API Description LanguagesAPI Description Languages
API Description Languages
 

Similar to Lamdba micro service using Amazon Api Gateway

Workshop: We love APIs
Workshop: We love APIsWorkshop: We love APIs
Workshop: We love APIs
Amazon Web Services
 
Ovations AWS pop-up loft 2019 Technical presentation
Ovations AWS pop-up loft 2019 Technical presentationOvations AWS pop-up loft 2019 Technical presentation
Ovations AWS pop-up loft 2019 Technical presentation
GeanBoegman
 
Getting started building your first serverless web application on AWS
Getting started building  your first serverless web application on AWSGetting started building  your first serverless web application on AWS
Getting started building your first serverless web application on AWS
Ioannis Polyzos
 
Introduction to Aws lambda and build first application | Namespace IT
Introduction to Aws lambda and build first application | Namespace ITIntroduction to Aws lambda and build first application | Namespace IT
Introduction to Aws lambda and build first application | Namespace IT
namespaceit
 
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
Amazon Web Services Korea
 
Building AWS native serverless website
Building AWS native serverless websiteBuilding AWS native serverless website
Building AWS native serverless website
Runcy Oommen
 
Continuous delivery with aws and bitbubket
Continuous delivery with aws and bitbubketContinuous delivery with aws and bitbubket
Continuous delivery with aws and bitbubket
Hermenegildo Marin Júnior
 
ACDKOCHI19 - Building a serverless full-stack AWS native website
ACDKOCHI19 - Building a serverless full-stack AWS native websiteACDKOCHI19 - Building a serverless full-stack AWS native website
ACDKOCHI19 - Building a serverless full-stack AWS native website
AWS User Group Kochi
 
Containerless in the Cloud with AWS Lambda
Containerless in the Cloud with AWS LambdaContainerless in the Cloud with AWS Lambda
Containerless in the Cloud with AWS Lambda
Ryan Cuprak
 
Serverless solution architecture in AWS
Serverless solution architecture in AWSServerless solution architecture in AWS
Serverless solution architecture in AWS
Runcy Oommen
 
AWS CloudTrail to Track AWS Resources in Your Account (SEC207) | AWS re:Inven...
AWS CloudTrail to Track AWS Resources in Your Account (SEC207) | AWS re:Inven...AWS CloudTrail to Track AWS Resources in Your Account (SEC207) | AWS re:Inven...
AWS CloudTrail to Track AWS Resources in Your Account (SEC207) | AWS re:Inven...
Amazon Web Services
 
Defcon 27 - Exploiting IAM in GCP
Defcon 27 - Exploiting IAM in GCPDefcon 27 - Exploiting IAM in GCP
Defcon 27 - Exploiting IAM in GCP
Netskope
 
Exploiting IAM in the google cloud platform - dani_goland_mohsan_farid
Exploiting IAM in the google cloud platform - dani_goland_mohsan_faridExploiting IAM in the google cloud platform - dani_goland_mohsan_farid
Exploiting IAM in the google cloud platform - dani_goland_mohsan_farid
CloudVillage
 
Exploiting IAM in GCP
Exploiting IAM in GCPExploiting IAM in GCP
Exploiting IAM in GCP
Colin Estep
 
AWS October Webinar Series - AWS Lambda Best Practices: Python, Scheduled Job...
AWS October Webinar Series - AWS Lambda Best Practices: Python, Scheduled Job...AWS October Webinar Series - AWS Lambda Best Practices: Python, Scheduled Job...
AWS October Webinar Series - AWS Lambda Best Practices: Python, Scheduled Job...
Amazon Web Services
 
Serverless identity management, authentication, and authorization - SDD405-R ...
Serverless identity management, authentication, and authorization - SDD405-R ...Serverless identity management, authentication, and authorization - SDD405-R ...
Serverless identity management, authentication, and authorization - SDD405-R ...
Amazon Web Services
 
February 2016 Webinar Series - Introducing VPC Support for AWS Lambda
February 2016 Webinar Series - Introducing VPC Support for AWS LambdaFebruary 2016 Webinar Series - Introducing VPC Support for AWS Lambda
February 2016 Webinar Series - Introducing VPC Support for AWS Lambda
Amazon Web Services
 
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 minsAWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS User Group - Thailand
 
SoftLayer API 12032015
SoftLayer API  12032015SoftLayer API  12032015
SoftLayer API 12032015
Nacho Daza
 
An introduction to serverless architectures (February 2017)
An introduction to serverless architectures (February 2017)An introduction to serverless architectures (February 2017)
An introduction to serverless architectures (February 2017)
Julien SIMON
 

Similar to Lamdba micro service using Amazon Api Gateway (20)

Workshop: We love APIs
Workshop: We love APIsWorkshop: We love APIs
Workshop: We love APIs
 
Ovations AWS pop-up loft 2019 Technical presentation
Ovations AWS pop-up loft 2019 Technical presentationOvations AWS pop-up loft 2019 Technical presentation
Ovations AWS pop-up loft 2019 Technical presentation
 
Getting started building your first serverless web application on AWS
Getting started building  your first serverless web application on AWSGetting started building  your first serverless web application on AWS
Getting started building your first serverless web application on AWS
 
Introduction to Aws lambda and build first application | Namespace IT
Introduction to Aws lambda and build first application | Namespace ITIntroduction to Aws lambda and build first application | Namespace IT
Introduction to Aws lambda and build first application | Namespace IT
 
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
윈도 닷넷 개발자를 위한 솔루션 클라우드 데브옵스 솔루션
 
Building AWS native serverless website
Building AWS native serverless websiteBuilding AWS native serverless website
Building AWS native serverless website
 
Continuous delivery with aws and bitbubket
Continuous delivery with aws and bitbubketContinuous delivery with aws and bitbubket
Continuous delivery with aws and bitbubket
 
ACDKOCHI19 - Building a serverless full-stack AWS native website
ACDKOCHI19 - Building a serverless full-stack AWS native websiteACDKOCHI19 - Building a serverless full-stack AWS native website
ACDKOCHI19 - Building a serverless full-stack AWS native website
 
Containerless in the Cloud with AWS Lambda
Containerless in the Cloud with AWS LambdaContainerless in the Cloud with AWS Lambda
Containerless in the Cloud with AWS Lambda
 
Serverless solution architecture in AWS
Serverless solution architecture in AWSServerless solution architecture in AWS
Serverless solution architecture in AWS
 
AWS CloudTrail to Track AWS Resources in Your Account (SEC207) | AWS re:Inven...
AWS CloudTrail to Track AWS Resources in Your Account (SEC207) | AWS re:Inven...AWS CloudTrail to Track AWS Resources in Your Account (SEC207) | AWS re:Inven...
AWS CloudTrail to Track AWS Resources in Your Account (SEC207) | AWS re:Inven...
 
Defcon 27 - Exploiting IAM in GCP
Defcon 27 - Exploiting IAM in GCPDefcon 27 - Exploiting IAM in GCP
Defcon 27 - Exploiting IAM in GCP
 
Exploiting IAM in the google cloud platform - dani_goland_mohsan_farid
Exploiting IAM in the google cloud platform - dani_goland_mohsan_faridExploiting IAM in the google cloud platform - dani_goland_mohsan_farid
Exploiting IAM in the google cloud platform - dani_goland_mohsan_farid
 
Exploiting IAM in GCP
Exploiting IAM in GCPExploiting IAM in GCP
Exploiting IAM in GCP
 
AWS October Webinar Series - AWS Lambda Best Practices: Python, Scheduled Job...
AWS October Webinar Series - AWS Lambda Best Practices: Python, Scheduled Job...AWS October Webinar Series - AWS Lambda Best Practices: Python, Scheduled Job...
AWS October Webinar Series - AWS Lambda Best Practices: Python, Scheduled Job...
 
Serverless identity management, authentication, and authorization - SDD405-R ...
Serverless identity management, authentication, and authorization - SDD405-R ...Serverless identity management, authentication, and authorization - SDD405-R ...
Serverless identity management, authentication, and authorization - SDD405-R ...
 
February 2016 Webinar Series - Introducing VPC Support for AWS Lambda
February 2016 Webinar Series - Introducing VPC Support for AWS LambdaFebruary 2016 Webinar Series - Introducing VPC Support for AWS Lambda
February 2016 Webinar Series - Introducing VPC Support for AWS Lambda
 
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 minsAWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
 
SoftLayer API 12032015
SoftLayer API  12032015SoftLayer API  12032015
SoftLayer API 12032015
 
An introduction to serverless architectures (February 2017)
An introduction to serverless architectures (February 2017)An introduction to serverless architectures (February 2017)
An introduction to serverless architectures (February 2017)
 

Recently uploaded

Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
Adam Dunkels
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
ScyllaDB
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
jackson110191
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
Matthew Sinclair
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
Liveplex
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
SynapseIndia
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
welrejdoall
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
BookNet Canada
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
Tatiana Al-Chueyr
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
shanthidl1
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Erasmo Purificato
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
BookNet Canada
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
Stephanie Beckett
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
Matthew Sinclair
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
Bert Blevins
 

Recently uploaded (20)

Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
 
How RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptxHow RPA Help in the Transportation and Logistics Industry.pptx
How RPA Help in the Transportation and Logistics Industry.pptx
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
 
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
 

Lamdba micro service using Amazon Api Gateway

  • 1. Lamba Micro Service using Amazon Api Gateway For Web Applications
  • 2. About Us Mike Becker Founder /CTO - Wise Agent University of Technology - 2000 Multi Instrumentalist - Guitars, Sax, Piano, Drums, Vocals Internet Credentialed Reverend - 11 weddings officiated Eleni Sommerschield COO - Wise Agent DePaul University - 2000 Fluent in Greek Enjoys spending time with family and friends
  • 3. Lambda Micro Service 1. Application Delivery 2. Application Requirements 3. AWS Assets 4. Web Assets 5. Process 6. Findings
  • 4. Lambda Micro Service Application Delivery ● Native ○ iOS ○ Android ○ Xamarin ● Web ○ Web Application Scaffolding ○ Html, Css, Javascript ○ Delivered from CloudFront / S3 Bucket
  • 5. Lambda Micro Service Application Requirements ● Deliver Unauthenticated Content ● Provide Authentication ○ Amazon, Facebook, Google, Twitter ○ Developer Credentials ■ Login Account Creation ■ Reset Password ● Handle Session Management ● Deliver Authenticated Content ● Provide Help - Contact Us
  • 7. Lambda is a service that will allow you to run little self contained snippets of JS, Java or Python to do discrete tasks.
  • 8. API Gateway Proxy your apps API through this so you can throttle bad client traffic, test new versions, and present methods more cleanly.
  • 9. Cognito OAuth as a service, give end users - (non AWS) - the ability to log in with Google, Facebook, etc.
  • 10. Amazon Cloudfront Make your websites load faster by spreading out static file delivery to be closer to where your users are.
  • 11. Route 53 Manage DNS records and purchase domains.
  • 12. Lambda Micro Service Web Assets ● Html, Css, Javascript ● Hosted on S3 ● Sync files to S3 via AWS-CLI. ● Use Angular Scaffolding like Yeoman/Bower/Grunt. ● Add AWS SDK to Bower. ○ bower install aws-sdk-js --save
  • 13. Lambda Micro Service Process - Website Setup ● Create a web template using yeoman. ○ Add the views listed in the requirements. ● Set up your S3 Bucket. ○ bucket must be named “subdomain.domain.tld” ● Set up a SSL certificate in the AWS Certificate Manager (ACM). ● Set up Amazon CloudFront. ○ Point to your bucket and subdomain. ○ Use the custom certificate option and select your certificate. ● Create a CNAME entry for your subdomain on Route 53 and enter your CloudFront domain name for its value. ● Build your project and sync to your S3 bucket. ○ aws s3 sync dist s3://yourbucket
  • 15. Lambda Micro Service Process - Social Integrations ● Set up your application on Amazon Login, Facebook, etc. ○ Add your authorized site or javascript origins. ○ Add your Valid OAuth return URLs. ○ Some will even accept your localhost for testing. ● Download sample OAuth scripts from the providers. ○ Instructions for setting up the scripts can be found online. ○ Place the download scripts in your index.html and the returnToken scripts in your scripts.js file. ○ Test your authorizations, you should be able to return token and fetch user info.
  • 16. Lambda Micro Service Process - Social Integrations ● Create a new Cognito Identity Pool. ○ Create unauthenticated and authenticated IAM roles. ○ Add your providers’ app ids to the Authentication Providers section. ○ Create a custom provider for your developer authentication. ● Edit the authorized role in IAM by adding lambda and execute-api invoking rights.
  • 17. Lambda Micro Service Process - Social Integrations ● Cognito Credentials in Javascript ○ Credential the unauthenticated user with Cognito on document ready. ○ When the token returns from provider, obtain credentials using the token.
  • 18. Lambda Micro Service Process - Lambda Function ● Create login Lambda function ○ Click “Create a Lambda function”. ○ Select simple-mobile-backend. ○ Name the function “DeveloperLogin”. ○ Under Role, select the suggested “Basic with DynamoDB”. ○ A new IAM Role will be created, click allow. ○ Leave the memory and timeout settings alone for now. ○ Then you will see….
  • 19. A new section to configure Lambda to access resources, such as EC2 databases, within your VPC!
  • 20. Lambda Micro Service Process - Lambda Functions ○ Select “no vpc”. ○ Click next and create function. ● Open the new Lambda_Dynamo role in IAM and attach the policy named “AmazonCognitoDeveloperAuthenticatedIdentities”. ● Create a table for logins in DynamoDB to store your email and hashed password, use email as the key. ● Create another table to store keys to retrieve lost passwords. ● Return to the Lambda function and create a test event.
  • 21. Lambda Micro Service Process - Lambda Functions Test Event Parameters { "email": "beck@r.com", "password": "anythingbutpassword", "operation": "login" }
  • 22. Lambda Micro Service Process - Lambda Functions ● You will need these includes and account credentials in the code. ○ var doc = require('dynamodb-doc'); ○ var dynamodb = new doc.DynamoDB(); ○ var crypto = require('crypto'); ○ var AWS = require('aws-sdk'); ○ var AWS_ACCOUNT_ID = ‘XXXXXXX’; ○ var AWS_Region = 'us-east-1'; ○ var COGNITO_IDENTITY_POOL_ID = 'us-east-1:XXXXXXXXXX'; ● Now add cases for login, reset password, etc. to the code.
  • 23. Lambda Micro Service Process - Lambda Functions ● After a successful login request, call getOpenIdTokenForDeveloperIdentity. var params = { IdentityPoolId: 'us-east-1:XXXXXXXXXXXXX', Logins: { 'login.testapp.com': event.email }, TokenDuration: 3600 }; var cognitoidentity = new AWS.CognitoIdentity(); cognitoidentity.getOpenIdTokenForDeveloperIdentity(params, function(err, data) { if (err){ // an error occurred token = "0"; context.fail("no token"); } else { // successful response token = { 'id' : data.IdentityId, "token": data.Token } ; context.succeed(token); } });
  • 24. Lambda Micro Service Process - Lambda Functions ● Create another Lambda function with “Basic with DynamoDB” as a template and attach SES sending privileges to your role. ● Create functions in your code for sending password resets and emails to your customer service ticket system. ● Create another Lambda function to be return your “Authorized Content”. ○ Use the lambda-micro-service template. ○ Set up test event parameters.
  • 25. Lambda Micro Service Process - API Gateway Creation ● Create new API. ● Create resources Login, Contact, Reset, Session. ● Add POST Method to login. ○ Select Lambda function and region. ○ Enter DeveloperLogin for the function and save. ○ Leave the Message Request settings as default. ● Select the Login resource and click “Enable Cors”. ○ Leave the settings as ‘*’ if you want to access via native/localhost. ○ Or, enter ‘*.yourdomain.tld’. ● Click “Deploy API” and create a new stage.
  • 26. Lambda Micro Service Process - API Gateway Creation ● On the stage view, generate a javascript sdk that will sign requests. ● Download, add to your project, and include the reference in index.html. ● Add the appropriate calls to your project, scripts.js file. ● Your login function should return with and id and token. ● Add an AWS.STS object and call assumeRoleWithWebIdentity to retrieve your Cognito credentials. After any changes to the API Gateway, you must re-deploy to see the update.
  • 27. Lambda Micro Service Process - API Gateway Creation ● Open Resources and select the session resource. ○ Add a POST method and point it to your lambda function that returns your sample “Authenticated Content”. ○ Select “AWS_IAM” for the Authentication method on the Method Request. ○ Deploy the API.
  • 28. Lambda Micro Service Process - Finish ● Add a view to your application and a function to call when the view loads. ● save the Cognito id and the credentials object in a global variables. ● The unauthenticated role should through a 403 error and load the login view. ● The authenticated should return your lambda output.
  • 29. Lambda Micro Service Findings 1. I don’t recommend attaching an API Gateway via the Lambda interface. Use the Api Gateway. 2. Api Gateway Resources a. It would be useful view/edit existing CORS settings. b. Deploy after each change, or you won’t see it on your endpoint. 3. I was able to use the same microservice with my native application, as well as this web application. 4. With VPC, The possibilities with Lambda integration are endless.
  • 30. Lambda Micro Service Links ● https://github.com/aws/aws-sdk-js ● http://yeoman.io/ ● https://blogs.aws.amazon.com/javascript/post/Tx1F7FO6GDAIXD3/Authentication- with-Amazon-Cognito-in-the-Browser ● http://docs.aws.amazon.com/cognito/devguide/identity/developer-authenticated- identities/ ● http://backspace.technology/learn-aws-cognito-id.html ● http://docs.aws.amazon.com/apigateway/latest/developerguide/use-custom- authorizer.html ● http://www.slideshare.net/AmazonWebServices/dev203-amazon-api-gateway-aws- lambda-to-build-secure-apis ● https://auth0.com/docs/integrations/aws-api-gateway/part-1 ● http://cloudacademy.com/blog/amazon-cognito-manage-mobile-data/

Editor's Notes

  1. Create Template Set up bucket subdomain.domain.tld set up cloudfront and ssl certificate Create cname in your DNS / Route53