Comments (2)
Hi there! Sorry my project is giving you trouble. A few things:
- By default, lb create will create an Application Load Balancer (HTTP/HTTPS) for ports 443 or 80 and a Network Load Balancer (TCP) for anty other port. What's happening above is that it's creating a Network Load Balancer for port 8080 which can only be used for TCP services so you're getting that error trying to use it with an HTTP service. You can manually specify the type by using
--port HTTP:8080
which will create an Application Load Balancer. - Application Load Balancers require two subnets. By default, the CLI will grab your default subnets and use them. I suspect you may only have one default subnet in your account. You can verify this in the console by checking the list of subnets and see which have the default flag. If I'm right, you can fix this in one of two ways:
- Create a new default subnet in a different availability zone (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/default-vpc.html#create-default-subnet)
- Explicitly pass subnets to the tool via
--subnet-id
to place your ALB on a different VPC.
In terms of launching across AZs, the CLI will launch across your default subnets by default. You can control which subnets it uses by passing --subnet-id
to either task run or servcie create.
I hope that helps!
from fargatecli.
Thanks for the prompt response, I will test out your suggestions tomorrow and look forward to contributing feedback!
from fargatecli.
Related Issues (20)
- Link to CircleCi build is broken HOT 1
- Question: Support for running multiple containers within a single task? HOT 4
- Create lb with http and https HOT 1
- On going project development & support HOT 5
- ECS Fargate support for EFS HOT 2
- Ability to stop service task by id
- fargatecli to support the China region HOT 1
- Circle CI tag at master readme does not render
- fargate service list is not show the result when it has more 20 services.
- Fargate cli not working
- Fargate CLI versus Copilot CLI? HOT 2
- Allow passing arguments to docker HOT 1
- Env variables cannot contain comma in the value HOT 1
- version 0.3.1 returning v0.3.0 with --version HOT 3
- `fargate service env set` triggers a deploy HOT 1
- service deploy deletes secrets array values
- default region cannot be changed HOT 1
- Create new release automation
- Create new documentation page HOT 1
- New install instructions needed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fargatecli.