In Migrating from Heroku CI to Jenkins on AWS – Part One, I went into depth about our migration. We containerized our CI/CD using Amazon Elastic Container Service (ECS) and the Amazon EC2 Container Service Plugin for Jenkins. This allowed us the flexibility of defining all of the required types of build agents as different […]
The previous post showed how to use Nginx as a reverse proxy to an ASP.NET Core application running in a separate Docker container. This time, I’ll show how to use a similar configuration to spin up multiple application containers and use Nginx as a load balancer to spread traffic over them. Desired architecture The architecture […]
The previous blog post showed how to setup a reverse proxy between Nginx and an ASP.NET Core application. In that example, both Nginx and the Kestrel process ran in the same box. As alluded to, there is another (preferable) option. This time, we’ll create two separate containers: one for the application and one for the […]
It is recommended to use something other than the built-in development web server as the front-line web server. In this example, I’m going to show how to use Nginx as a reverse proxy to the ASP.NET Core application. Reverse-proxy architecture options In terms of architecture setup for reverse proxying for ASP.NET Core in Docker there […]
Now that the API exists, it is time to create the Backbone application. The full code for the application is available. More so than in the previous steps in the series, there is a lot more content in the application than is shown below. Looking through the full source provides a much more complete context […]
The Backbone application (coming in the next post in the series) will interact with the REST API using AJAX calls. Adding a reverse proxy allows those calls to work without browsers stopping the requests due to cross-site scripting (XSS) concerns and without setting up cross-origin resource sharing (CORS). Using nginx Nginx is used to setup […]