AWS Compute Blog

Creating an Enterprise Scheduler Using AWS Lambda and Tagging

Co-authored by Felix Candelario and Benjamin F., AWS Solutions Architects Many companies are looking to optimize their AWS usage and lower operational costs. While production environments are typically well-governed and reach optimal use through services such as Auto Scaling, sometimes development and testing need a different approach. There are a number of ways to schedule […]

Read More

Analyzing Genomics Data at Scale using R, AWS Lambda, and Amazon API Gateway

This is a guest post by Anish Kejariwal, Director of Engineering for Station X Station X has built the GenePool web platform for real time management, visualization, and understanding of clinical and genomic data at scale. As part of the GenePool analytics engine, R is used to calculate statistics that help scientists search for patterns […]

Read More

Help Secure Container-Enabled Applications with IAM Roles for ECS Tasks

In Amazon ECS, you have always had the benefit of being able to use IAM roles for Amazon EC2 in order to simplify API requests from your containers. This also allows you to follow AWS best practices by not storing your AWS credentials in your code or configuration files, as well as providing benefits such […]

Read More

Build a Serverless, Private URL Shortener

As a solutions architect, I often need to send large files to customers, such as architecture diagrams and service presentations. To avoid sending heavy attachments in email, I first upload the content on Amazon S3, then send a pre-signed URL to allow the customer to securely download the content. However, S3 pre-signed URLs are generally […]

Read More

Create and Deploy a Chat Bot to AWS Lambda in Five Minutes

This is a guest post by Gojko Adzic, creator of ClaudiaJS   The new Claudia.JS Bot Builder project helps JavaScript developers to easily create chat-bots for Facebook, Telegram, Skype, and Slack, and deploy them to AWS Lambda and Amazon API Gateway in minutes. The key idea behind this project is to remove all the boilerplate […]

Read More

Content Replication Using AWS Lambda and Amazon S3

Co-authored by Felix Candelario and Benjamin F., AWS Solutions Architects Cross-region replication in Amazon S3 lets you copy from one source bucket to one destination bucket, where the destination bucket resides in a separate region from the source bucket. In order to replicate objects to multiple destination buckets or destination buckets in the same region […]

Read More

Error Handling Patterns in Amazon API Gateway and AWS Lambda

Ryan Green @ryangtweets Software Development Engineer, API Gateway A common API design practice is to define an explicit contract for the types of error responses that the API can produce. This allows API consumers to implement a robust error-handling mechanism which may include user feedback or automatic retries, improving the usability and reliability of applications […]

Read More

Airtime Relaunches with Major Overhaul using ECS

Guest post by Abby Fuller (@abbyfuller) of Airtime A major part of the recent Airtime relaunch was an architecture overhaul changing our application from monolith to microservices. This switch was intended to solve some long-standing issues (bottlenecked deployments, limited redundancy, and inconsistent testing and staging/production environments), while keeping in mind our major priorities: user experience […]

Read More

Extracting Video Metadata using Lambda and Mediainfo

For a video asset, technical metadata includes information such as video codec, audio codec, resolution, frame rate, aspect ratio, and a host of other very detailed technical information. With technical metadata, customers can make intelligent decisions about what to do next in their workflow. The asset may be transcoded to a standard “house” format, resized, […]

Read More

Using API Gateway with VPC endpoints via AWS Lambda

To isolate critical parts of their app’s architecture, customers often rely on Virtual Private Cloud (VPC) and private subnets. Today, Amazon API Gateway cannot directly integrate with endpoints that live within a VPC without internet access. However, it is possible to proxy calls to your VPC endpoints using AWS Lambda functions. This post guides you […]

Read More