Continuous Delivery with GitLab and Pulumi on Amazon EKS

Posted by Nishi Davidson on May 22, 2019 2:00:00 AM

In this blog, we will work through an example that shows how to use Pulumi to enable GitLab-based continuous delivery with your Kubernetes workloads on Amazon EKS. This integration will work just as seamlessly for any Kubernetes cluster, including Azure AKS or Google GKE, using the relevant Pulumi libraries for Azure and Google.

Read More

Topics: AWS, Kubernetes, CICD

Get Started with Docker on AWS Fargate using Pulumi

Posted by Joe Duffy on Apr 30, 2019 11:44:46 AM

The Docker Getting Started tutorial shows how to develop, build, and run a modern containerized application, from a single custom Docker container published to the Docker Hub, to a scaled out service with load balancing. But there are challenges: it requires you to program in YAML, run (or script) many CLI commands, and manage your own Swarm or Kubernetes cluster. There is an easier way. By using Pulumi’s infrastructure as code, we can build a custom Docker image, publish it to a private AWS container registry, and spin up an AWS Fargate load balanced service running that container, all in 28 lines of TypeScript code and a single pulumi up command. The result leverages the best of what AWS has to offer, with the entire platform at your fingertips, with a single approach. In this article, we’ll see how.

Read More

Topics: JavaScript, AWS, Containers, Infrastructure, TypeScript

Simplify Kubernetes RBAC in Amazon EKS with open source Pulumi packages

Posted by Nishi Davidson on Apr 25, 2019 2:15:00 PM
One of the most common areas Kubernetes operators struggle with in production involves creating and managing role-based access control (RBAC). This is so daunting that RBAC is often not implemented, or implemented halfway, or the configuration becomes impossible to maintain. In this post, we will contrast the traditional way of working with RBAC on EKS with using Pulumi — Pulumi makes RBAC on Kubernetes so easy that you’ll never create an insecure cluster again!
Read More

Topics: AWS, Kubernetes, TypeScript, EKS

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

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

Unified Logs with pulumi logs

Posted by Luke Hoban on Apr 2, 2019 2:02:16 PM
Pulumi makes developing and deploying rich serverless and container-based applications a breeze. But how do you monitor and observe those applications while they are being developed and once they are deployed? There are many great answers: from the built-in capabilities of the underlying cloud services (Lambda, ECS, Kubernetes, and more), to great 3rd party solutions like IOpipe and Epsagon which we highlighted recently on this blog.

The Pulumi CLI provides another way to do logging, without requiring the additional setup of these existing solutions and seamlessly integrated into your Pulumi development workflow. The pulumi logs command provides a great first place to start for understanding your Pulumi application’s behaviour. Especially during development, this command provides direct insight into the behaviour of your application, bringing together logs across all of the different forms of compute you are using - from code running in serverless functions to containers to VMs.

Read More

Topics: AWS, Features, Logging

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

Easily Create and Manage AWS EKS Kubernetes Clusters with Pulumi

Posted by Luke Hoban on Jan 24, 2019 8:35:04 AM

Provisioning, managing, and monitoring a Kubernetes cluster is no easy task. AWS now offers EKS to ease a lot of that burden -- but it's still difficult to get up and running. Pulumi's infrastructure as code to the rescue! We can now provision an entire EKS cluster with a CLI single gesture, thanks to the @pulumi/eks package. Let's see how.

Read More

Topics: AWS, Kubernetes

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

Upcoming AWS + Pulumi Webinar on Feb 5

Posted by Erin Xue on Jan 9, 2019 11:55:15 AM

Pulumi is hosting a webinar with AWS Fargate on February 5th, 10AM PST (register here). We’ll be chatting about how to implement cloud native infrastructure across your organization using AWS and Pulumi: general purpose programming languages to deliver everything from VMs to Kubernetes to Serverless.

Register Now

Read More

Topics: AWS, CICD, Cloud Native Infrastructure