Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

How We Migrated from Heroku to Amazon Web Services (AWS) Using Docker

Описание и применение

Команда перенесла приложение из Heroku в AWS, используя Docker, что снизило расходы примерно на 30% и предоставило полный контроль над инфраструктурой.

Задача

The team needed to move their application from Heroku to AWS to gain more control over infrastructure and reduce costs.

Результат

The migration completed in a few weeks, reduced monthly costs by approximately 30%, and provided full control over the deployment stack.

Рабочий процесс

  • 1. Containerized the Rails app with Docker.
  • 2. Created a Dockerfile and docker-compose.yml for local development.
  • 3. Pushed images to Amazon ECR.
  • 4. Configured Elastic Beanstalk to use the Docker image.
  • 5. Migrated databases from Heroku Postgres to Amazon RDS.
  • 6. Updated environment variables and add‑on equivalents.
  • 7. Tested the deployment locally and in staging.
  • 8. Switched traffic to the new AWS environment.
  • 9. Decommissioned Heroku resources.

Доказательства

We started by containerizing our Rails application with Docker, creating a Dockerfile and docker-compose.yml for local development.

Источник

We pushed the images to Amazon ECR and configured Elastic Beanstalk to use the Docker image.

Источник

The migration reduced our monthly costs by about 30% and gave us full control over the infrastructure.

Источник

  • Дата записи: 2026-11-02T10:58:47.457Z