Serverless as Simple Callbacks with Pulumi and Azure Functions

Posted by Mikhail Shilkov on May 7, 2019 1:00:00 PM

Today's guest post is from Mikhail Shilkov, a Microsoft Azure MVP and early Pulumi user and contributor - enjoy!

Serverless compute services, like Azure Functions, offer an amazing power to application developers to leverage: highly available, automatically scaled, low-ceremony, pay-per-value functions created in several lines of code.

So, what’s the simplest way to take a Node.js function and deploy it to Azure cloud as an HTTP endpoint? How about this little tutorial:

Read More

Topics: Serverless, Azure

Protecting Your APIs with Lambda Authorizers and Pulumi

Posted by Erin Krengel on Apr 24, 2019 3:20:39 PM
Creating serverless applications just got even easier! You can now protect your application APIs in just three easy steps. We’ve already talked a bit about how Pulumi allows you to effortlessly create serverless apps. Now, we’re helping you simplify protecting those apps with API Gateway and Lambda authorizers.

With Pulumi’s AWSX package, you can quickly define a Lambda and an AWS Lambda authorizer to protect it. We’re once again harnessing the power of Lambdas as Lambdas to allow developers to focus on writing code.

Read More

Topics: Serverless, AWS, Lambda, Auth, API Gateway

Simple Serverless programming with Google Cloud Functions and Pulumi

Posted by Cyrus Najmabadi on Apr 10, 2019 10:43:20 AM

Pulumi lets you create, deploy, and manage Google Cloud applications and infrastructure in familiar languages like JavaScript, TypeScript, and Python, and without needing to learn new DSLs or YAML templating solutions. This means great productivity and getting to use tools you already know and love. Since serverless is all about focusing more on your application code, and less on infrastructure and configuration toil, we absolutely love Google Functions.

The Simplest Way to Serverlesss

In fact, serverless has never been simpler than it is when you combine Pulumi with Google Cloud Functions. Want to serve a simple HTTP API with no fixed costs? It’s just a few lines of code -- and no, we're not hiding any YAML here:

Read More

Topics: Serverless, GCP

Pulumi ❤️ Google Cloud Platform

Posted by Luke Hoban on Apr 9, 2019 6:47:17 AM
Google Cloud is one of the most exciting cloud platforms available today, with a breadth of powerful infrastructure services from Google Container Engine (GKE) and Google Cloud Functions to Cloud Firestore and Cloud Spanner.

Pulumi is the most productive tooling available today for teams building cloud applications and infrastructure, in your favorite languages. Add them together, and teams can easily take maximum advantage of Google Cloud Platform's rich features, productively, with a combined platform that makes it easy to collaborate, share, and reuse.

In this post, we’ll highlight some of the top features of Pulumi that make it a joy to work with Pulumi + Google Cloud.

Read More

Topics: Serverless, Kubernetes, Features, CICD, GCP

Programming the Cloud with Python

Posted by Sean Gillespie on Apr 4, 2019 1:15:00 PM
Across the industry, the popularity of Python is exploding. Amongst our own customers at Pulumi, who automate their infrastructure using Python, we've seen the same. Stack Overflow wrote about the astounding growth of Python in 2017:

The term “fastest-growing” can be hard to define precisely, but we make the case that Python has a solid claim to being the fastest-growing major programming language.
 
 -  David Robinson, Stack Overflow

TIOBE, the maintainers of a popular index of programming language popularity, crowned Python as “ Programming Language of the Year” for 2018, based on its meteoric rise in its index. Since Python is not a new language, what could be driving this incredible adoption curve?

Python is, and always has been, particularly amenable to the automation of previously-manual tasks. So much so, in fact, that books have been written on how to automate common tasks with Python. In recent years, Python's penchant for task automation have led to its use at the foundation of tools now ubiquitous in the DevOps space: tools like Ansible, SaltStack, and OpenStack are all authored primarily in Python. It would not be a stretch to claim that Python is the language of automation.
Read More

Topics: Serverless, AWS, Python

Easy Serverless Apps and Infrastructure -- Real Events, Real Code

Posted by Joe Duffy on Mar 11, 2019 8:14:19 AM

With Pulumi, you can create, deploy, and manage any cloud resource using your favorite language. This includes application- and infrastructure- related resources, often in the same program.

Read More

Topics: JavaScript, Serverless, AWS

Serverless on AWS with Pulumi: simple, event-based functions

Posted by Cyrus Najmabadi on Jan 14, 2019 9:43:49 AM

One of Pulumi’s goals is to provide the simplest way possible to do serverless programming on AWS by enabling you to create cloud infrastructure with the real programming languages that you are already using today. We believe that the existing constructs already present in these languages, like flow control, inheritance, composition, and so on, provide the right abstractions to effectively build up infrastructure in a simple and familiar way.

Read More

Topics: JavaScript, Serverless, AWS

Pulumi + Epsagon: Define, Deploy and Monitor Serverless Applications

Posted by Luke Hoban on Nov 29, 2018 11:32:14 AM

Pulumi makes it incredibly easy to use serverless functions within your cloud infrastructure and applications - an AWS Lambda is as simple as writing a JavaScript lambda!

Read More

Topics: Serverless

Lambdas as Lambdas: The magic of simple serverless Functions

Posted by Cyrus Najmabadi on Oct 10, 2018 8:27:35 AM

Pulumi's approach to infrastructure as code uses real languages instead of YAML or DSLs. One major advantage of this approach is that AWS Lambdas, Azure Functions, Google Cloud Functions, et al. can just be real language lambdas, offering a flexible and simple path to serverless. Such functions behave as normal functions, allowing you to treat serverless code as part of your application instead of separate "infrastructure" that needs to be configured, managed, and versioned manually. In this post, we'll examine this capability in JavaScript, which is already very function- and callback-oriented, making serverless feel like a natural extension of the language we already know and love. 

Read More

Topics: Serverless, TypeScript

Running a Serverless Node.js HTTP Server on AWS and Azure

Posted by Cyrus Najmabadi on Oct 2, 2018 12:52:51 PM

The newly introduced cloud.HttpServer in Pulumi makes it easy to serve a standard Node.js HTTP server as a serverless API on any cloud platform.  This new API brings together the flexibility and rich ecosystem of Node.js HTTP servers, the cost and operational simplicity of serverless APIs, and the multi-cloud authoring and deployment of Pulumi.  In this post, we walk through some of the background on why we introduced this new API and how it fits into the Node.js HTTP ecosystem.

Read More

Topics: Serverless