0

I'm trying to set up an Next.js app on Amplify with container-based hosting on Fargate, but when I run amplify add hosting, the only two options I get are Amplify Console and CloudFront + S3.

enter image description here

I've already configured the project to enable container-based deployments, but I'm just not presented with the option to do so

enter image description here

Amplify CLI version is v4.41.2 and the container-hosting plugin is correctly listed in the active plugins

enter image description here

Region is eu-west-1, the CLI is configured and I've gone through all the steps more than once.

amplify init
amplify configure project
amplify add hosting

Are there any prerequisites, something I missed or don't know of? I can't find anything about it.

Ionut Achim
  • 937
  • 5
  • 10

2 Answers2

2

Here's the limitation they have mentioned in their docs: https://docs.amplify.aws/cli/usage/containers/#:~:text=Hosting%20with%20Fargate%20in%20Amplify%20is%20only%20available%20in%20US%2DEast%2D1%20at%20this%20time

Hosting with Fargate in Amplify is only available in US-East-1 at this time

So the best solution would be to change the region of your project itself, if possible. Otherwise, use ECS and build your CI/CD pipeline manually (CodePipeline).

Kushal
  • 71
  • 4
1

According to this video it's only available in US East 1 currently.

https://youtu.be/rA5l82vypXc