Program the Cloud with 12 Pulumi Pearls

Posted by Joe Duffy on Jul 25, 2018 12:06:01 PM

In this post, we’ll look at 12 “pearls” – bite-sized code snippets – that demonstrate some fun ways you can program the cloud using Pulumi. In my introductory post, I mentioned a few of my “favorite things”. Now let’s dive into a few specifics, from multi-cloud to cloud-specific, spanning containers, serverless, and infrastructure, and generally highlighting why using real languages is so empowering for cloud scenarios. Since Pulumi lets you do infrastructure-as-code from the lowest-level to the highest, we will cover a lot of interesting ground in short order.

Read More

Topics: Serverless, AWS, Containers, Infrastructure, TypeScript

Provisioning and managing cloud infrastructure with Pulumi

Posted by Donna Malayeri on Jul 20, 2018 12:17:12 PM

If you’ve been following the blog, you know that Pulumi is great for building serverless applications, container-based applications, and a combination of the two. But, did you know that you can manage any cloud resource in AWS, Azure, or Google Cloud Platform?

Read More

Topics: JavaScript, AWS, Infrastructure

Serving a Static Website on AWS with Pulumi

Posted by Chris Smith on Jul 17, 2018 9:21:50 AM

Hello! This post covers using Pulumi to create the infrastructure for serving a static website on AWS. The full source code for this example is available on GitHub.

Setting up the infrastructure to serve a static website doesn’t sound like it would be all that difficult, but when you consider HTTPS certificates, content distribution networks, and attaching it to a custom domain, integrating all the components can be quite daunting. 

Read More

Topics: AWS, Infrastructure, TypeScript

Using Pulumi with AWS SQS and Lambdas

Posted by Cyrus Najmabadi on Jul 10, 2018 12:14:30 PM

Two weeks ago Amazon added Simple Queue Service (SQS) as a supported event source for Lambda. SQS is one of AWS’s oldest services, providing access to a powerful message queue that can do things like guarantee messages will be delivered at least once, or messages that will be processed in the same order they were received in. Adding SQS as a supported event source for Lambda means that now it’s possible to use SQS in a serverless computing infrastructure, where Lambdas are triggered in response to messages added to your SQS queue. Now, instead of needing some sort of Service dedicated to polling your SQS queue, or creating Simple Notification Service (SNS) notifications from your messages, you can instead just directly trigger whatever Lambda you want.

Read More

Topics: JavaScript, Serverless, AWS

How we use Pulumi to build Pulumi

Posted by Luke Hoban on Jun 26, 2018 12:12:29 PM

Here at Pulumi we are (perhaps unsurprisingly!) huge fans of using Pulumi to manage our cloud infrastructure and services. We author our infrastructure in strongly-typed programming languages, which allows us to to benefit from rich tooling - documenting and factoring our infrastructure using the same software engineering practices we apply to our application code. This also allows us to create reusable abstractions which accelerate our ability to deliver new features and services, and our ability to standardize and refactor infrastructure patterns across our services with relative ease.

Read More

Topics: Serverless, AWS, Containers, Infrastructure

Build a Video Thumbnailer with Pulumi using Lambdas, Containers, and Infrastructure on AWS

Posted by Donna Malayeri on Jun 18, 2018 5:02:19 AM

Pulumi makes it easy to build cloud applications that use a combination of containers, lambdas, and connected data services and infrastructure: Colada apps. 

An example of a Colada app is extracting a thumbnail from a video. A serverless function can only run for 5 minutes, so we'll run a container in AWS Fargate to do the video processing. 

In this app, a Lambda function is triggered whenever a new video is uploaded to S3. This function launches a task in Fargate that uses FFmpeg to extract a video thumbnail. A second Lambda function is triggered when a new thumbnail has been created. 

Read More

Topics: JavaScript, Serverless, AWS, Containers, Infrastructure

Deploying production-ready containers with Pulumi

Posted by Donna Malayeri on Jun 18, 2018 5:01:52 AM

 

Containers are a great way to deploy applications to the cloud, especially with new execution models like AWS Fargate. Pulumi makes it easy to deploy production Docker containers, handling details such as creating a container registry instance in ECR, creating task definitions in ECS, and configuring a load balancer. With Pulumi, deploying a container to production is almost as easy as running it locally!

Read More

Topics: JavaScript, AWS, Containers

Code, Deploy, and Manage a Serverless REST API on AWS with Pulumi

Posted by Donna Malayeri on Jun 18, 2018 5:01:26 AM

Pulumi makes it easy to build serverless applications and connect to other cloud resources. In this blog post, we'll create a simple REST API that counts the number of times a route has been hit, using JavaScript to define both the infrastructure and application code.

Read More

Topics: JavaScript, Serverless, AWS

Pulumi Blog

Get code to the cloud. Faster. Together.

Get started

curl -fsSL https://get.pulumi.com/ | sh

Resources

Subscribe to our newsletter

Recent Posts