By using AWS re:Post, you agree to the Terms of Use

Amplify Build Times with React SPA

0

Hello! I am pretty new to most AWS services and am using Amplify for the first time. In the last couple of days, I've built a small personal portfolio site as a React SPA, and have deployed it to Amplify. I would consider this to be an extremely 'simple' app, as it's just a static page with a few components.

I do have a backend connected, but I'm only using the authentication service with it.

Continuous deployment seems to be working, but every time I push a change (even just adding a single comment), the 'Build' stage of the pipeline takes about 10-15 minutes to complete before moving on to 'Deploy'.

I guess what I'm asking is if these are standard build times with Amplify. I am able to build and run my local environment in just a few seconds, so I feel like Amplify should be able to build the app just as quickly, if not faster.

Is there a way I can look and see which parts of the build process take the longest? Having to wait so long to deploy changes has been slowing down my development process a fair amount, so I'd like to figure out how to speed it up if possible.

EDIT: 2 days later, still having this issue. The only solution I can think of at this point is to ditch Amplify entirely and use a Lightsail VM or something. I would really prefer to not have to do so, because it will require a lot of extra work. I'm definitely disappointed by the seeming lack of documentation for Amplify and its many components. The official tutorials are out of date and are missing entire steps at points.

asked 8 months ago9 views