pulumi-aws-native
pulumi-aws-native copied to clipboard
AWS Native running slower than AWS Classic
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
Essentially, the log shows that this delay is on the Cloud Control API side:
- 15:36:41 We send
CreateResource - 15:36:42 We poll
GetResourceRequestStatusfor the first time and getIN_PROGRESS - We keep polling...
- 15:37:09 is the last
GetResourceRequestStatusthat is still in progress - 15:37:11
GetResourceRequestStatusreturnsSUCCESSand we are done
I will raise this with AWS folks.
Has this performance issue been observed with any other resources or is it only S3 buckets which have been noticably slower?
I'll give it a go on others. I chose an S3 bucket because it's one of the simplest resources to create
Creating and deleting lambdas is really slow in native. Anecdotally it takes <10 seconds on classic, and 1-3 minutes on native.