pulumi / pulumi-aws-native

AWS Native Provider for Pulumi
Apache License 2.0
95 stars 17 forks source link

AWS Native running slower than AWS Classic #217

Open pierskarsenbarg opened 3 years ago

pierskarsenbarg commented 3 years ago

When deploying resources with AWS Native, it feels considerably slower than with the AWS Classic provider.

First test: Running this program with debug:

import * as aws from "@pulumi/aws";
import * as awsnative from "@pulumi/aws-native";

const bucket = new aws.s3.Bucket("my-bucket");
const nativeBucket = new awsnative.s3.Bucket("nativebucket");

Generated this log file: out.txt

mikhailshilkov commented 3 years ago

Essentially, the log shows that this delay is on the Cloud Control API side:

I will raise this with AWS folks.

danielrbradley commented 2 years ago

Has this performance issue been observed with any other resources or is it only S3 buckets which have been noticably slower?

pierskarsenbarg commented 2 years ago

I'll give it a go on others. I chose an S3 bucket because it's one of the simplest resources to create

passcod commented 1 year ago

Creating and deleting lambdas is really slow in native. Anecdotally it takes <10 seconds on classic, and 1-3 minutes on native.