How to use Pulumi with AWS
Pulumi helps you get your code to the AWS cloud faster than ever before: from high-level multi-cloud libraries, to low-level fine grained control of AWS-specific resources.
Pulumi and AWS
Pulumi is an AWS Advanced Technology Partner providing everything you need to get code to the AWS cloud. Pulumi provides a cloud development platform enabling Development and DevOps teams to code, deploy, any cloud app: from serverless functions, to container apps, to data services and infrastructure.
Coding and deploying apps for AWS with Pulumi
Pulumi supports all AWS services available for deployment. The
@pulumi/aws library enables fine-grained control over chosen resources meaning so your app can be optimized for AWS.
Example services include:
Multi-cloud development with
For a higher-level abstraction, and greater portability, the
@pulumi\cloud-aws library provides a set of classes that enable productive development for any cloud. When instantiated for AWS, code is adapted to use the available services in AWS, and the supporting services necessary to deploy them (e.g. IAM roles).
var cloud = require("@pulumi/cloud-aws"); // Create RestAPI and Lambda Functions const myLambda = new cloud.API("nameLambda"); // Create an S3 Bucket const myBucket = new cloud.Bucket("nameBucket"); // Create container infrastructure using AWS Fargate const myContainer = new cloud.Task("nameContainer"); // Create container infrastructure using AWS ECS const myService = new cloud.Service("nameService"); // Create DynamoDB table const myDatabase = new cloud.Table("nameTable"); // Create AWS Cloudwatch event rule const myTimer = new cloud.Timer("nameTimer";)