AWS Compute Blog

Category: Compute*

Powering your Amazon ECS Clusters with Spot Fleet

My colleague Drew Dennis sent a nice guest post that shows how to use Amazon ECS with Spot fleet. — There are advantages to using on-demand EC2 instances. However, for many workloads, such as stateless or task-based scenarios that simply run as long as they need to run and are easily replaced with subsequent identical […]

Read More

Getting Started with JAWS on Amazon Web Services

Nick Corbett, AWS Professional Services, Big Data Consultant Amazon API Gateway and AWS Lambda empower developers to deliver a microservice architecture without managing infrastructure.  Building scalable, secure, and durable applications has never been easier.  However, managing the deployment of a large project is not always easy.  A global app, deployed across multiple AWS regions in […]

Read More

AWS Lambda sessions at re:Invent 2015 – Wrap up

Vyom Nagrani, Sr. Product Manager, AWS Lambda Announcements AWS Lambda announced four new features at re:Invent 2015 Support for Python functions Increased function duration from 60 seconds to 300 seconds Function Versioning & Aliasing Scheduled functions (Cron) – Console only You can read the details for these announcements here. Breakout sessions We had listed the […]

Read More

Dynamic Scaling with EC2 Spot Fleet

Tipu Qureshi, AWS Senior Cloud Support Engineer The RequestSpotFleet API allows you to launch and manage an entire fleet of EC2 Spot Instances with one request. A fleet is a collection of Spot Instances that are all working together as part of a distributed application and providing cost savings. With the ModifySpotFleetRequest API, it’s possible […]

Read More

AWS Lambda sessions at re:Invent 2015

Ajay Nair, Sr. Product Manager, AWS Lambda   If you will be attending re:Invent 2015 in Las Vegas next week, you will have many opportunities to learn more about building applications using AWS Lambda. The Lambda team will be presenting multiple sessions covering new features, as well as deep dives on using Lambda for data […]

Read More

A Simple Serverless Test Harness using AWS Lambda

Tim Wagner, AWS Lambda General Manager You can easily test a Lambda function locally by using either a nodejs runner or JUnit for Java. But once your function is live in Lambda, how do you test it? One option is to create an API for it using Amazon API Gateway and then employ one of […]

Read More

Microservices without the Servers

Tim Wagner, AWS Lambda General Manager At LinuxCon/ContainerCon 2015 I presented a demo-driven talk titled, “Microservices without the Servers”. In it, I created an image processing microservice, deployed it to multiple regions, built a mobile app that used it as a backend, added an HTTPS-based API using Amazon API Gateway and a website, and then […]

Read More

Everything Depends on Context or, The Fine Art of nodejs Coding in AWS Lambda

Tim Wagner, AWS Lambda General Manager Quick, what’s wrong with the Lambda code sketch below? exports.handler = function(event, context) { anyAsyncCall(args, function(err, result) { if (err) console.log(‘problem’); else /* do something with result */; }); context.succeed(); }; If you said the placement of context.succeed, you’re correct – it belongs inside the callback. In general, when […]

Read More

Better Together: Amazon ECS and AWS Lambda

My colleague Constantin Gonzalez sent a nice guest post that shows how to create container workers using Amazon ECS. — Amazon EC2 Container Service (Amazon ECS) is a highly scalable, high performance container management service that supports Docker containers and allows you to easily run applications on a managed cluster of Amazon EC2 instances. ECS eliminates the […]

Read More