For creating private connections using ECS, you can try some different strategies: 1. Put the protected applications on a private VPC using private subnets: - docs.aws.amazon.com/apigateway/latest/developerguide/http-api-private-integration.html - aws.amazon.com/blogs/compute/setting-up-aws-privatelink-for-amazon-ecs-and-amazon-ecr/ - aws.amazon.com/vpc/ 2. In case you want to keep applications on public subnets, you can add authentication layers on your project to prevent unauthorized access, such as Oauth auth for connections between the frontend and the backend. For simple protections, you can use Basic Auth. 3. AWS WAF might help as well depending on some circumstances. It might be worth to take a look - aws.amazon.com/waf/ I hope this helps :)
Hello, on your task definition on ECS, you will have to update the Port mapping to use port 8000. docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#:~:text=instance%20memory%20.-,Port%20mappings,-portMappings
In this case, you will have to pay for the allocated AWS resources, which are: 1. Fargate service 2. Load Balancer 3. Route 53 hosted zone The most expensive item on the list above is the Load Balancer Ps: The Load Balancer is optional for ECS. I decided to use it on the video due to some specs of the project
Hello! What kind of content would you like to see here? More beginner-friendly? Using some specific stack? Deploying Docker on the Cloud using ECS or Kubernetes? Please let me know :)
Outstanding! Best of its kind :)
I'm glad you like it :)
If you want to see some specific topics here on this channel, please let me know!
Is there a way I can setup the API endpoint with my URL, so it can't be accessed by the public? Only selected users?
Good question! For now I don’t have an answer, but I’ll get back to you on this, but I believe there is a solution for this
For creating private connections using ECS, you can try some different strategies:
1. Put the protected applications on a private VPC using private subnets:
- docs.aws.amazon.com/apigateway/latest/developerguide/http-api-private-integration.html
- aws.amazon.com/blogs/compute/setting-up-aws-privatelink-for-amazon-ecs-and-amazon-ecr/
- aws.amazon.com/vpc/
2. In case you want to keep applications on public subnets, you can add authentication layers on your project to prevent unauthorized access, such as Oauth auth for connections between the frontend and the backend. For simple protections, you can use Basic Auth.
3. AWS WAF might help as well depending on some circumstances. It might be worth to take a look
- aws.amazon.com/waf/
I hope this helps :)
I want to publish my app on 8000 port. So, what changes should I make?
Hello, on your task definition on ECS, you will have to update the Port mapping to use port 8000. docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html
docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#:~:text=instance%20memory%20.-,Port%20mappings,-portMappings
do we need to pay something if you deploy fastapi project on cloud ?
In this case, you will have to pay for the allocated AWS resources, which are:
1. Fargate service
2. Load Balancer
3. Route 53 hosted zone
The most expensive item on the list above is the Load Balancer
Ps: The Load Balancer is optional for ECS. I decided to use it on the video due to some specs of the project
@@computingpower So for general use, like a personal project, it will work fine without the load balancer?
hey good evening, was wondering if you can teach us some stuff for docker !
Hello! What kind of content would you like to see here? More beginner-friendly? Using some specific stack? Deploying Docker on the Cloud using ECS or Kubernetes? Please let me know :)
@@computingpower hey it will be good if course can be beginner friendly and using Fastapi in detail it will be big help
@@computingpower also how much you are paying to aws for this project i just created vpc and not using anything it cost me money
wow content in this video and channel very amazing , can you upload more video, i here for spam like and just one subscribe for u