David Cai | Blog

Posts in “Aws”

Serverless Framework at Financial Engines

Thu, Mar 17, 2016

Serverless framework at FE

When working with Amazon Lambda, my colleagues asked what benefits we will reap from using the Serverless framework. We can directly code Lambda functions in AWS’ online editor, or upload a zip file to AWS if the Lambda function requires any 3rd-party node modules. The workflow might be tedious but quite easy to understand. So why Serverless?

Serverless Framework & AWS API Gateway CORS

Wed, Feb 10, 2016

Serverless and CORS

If you run into HTTP errors related to ‘Access-Control-Allow-Origin’ when calling a REST API endpoint through the AWS API Gateway, you probably need to enable CORS (Cross-Origin Resource Sharing) for your endpoint methods.