Learn how to deploy your Spree Commerce application on Amazon Web Services (AWS).
Service | Description |
---|---|
AWS ECS Fargate | Amazon Elastic Container Service (ECS) is a fully managed container orchestration service that allows you to run and scale containerized applications without managing the underlying infrastructure. |
AWS RDS | Amazon Relational Database Service makes it easy to set up, operate, and scale a relational database in the cloud. Spree works great with multiple databases: Amazon Aurora both MySQL and PostgreSQL variants, RDS PostgreSQL, RDS MySQL and RDS MariaDB |
AWS ElastiCache | You will need 2 instances of Valkey or Redis: one for the Active Job background queue and one for the Spree cache. |
AWS S3 | Object storage service to store and read your uploaded files such as Product images, etc. More information. |
AWS CloudFront | Fast content delivery network CDN to speed up your asset images/stylesheets/javascript delivery. This will greatly enhance your application responsiveness. |
AWS Route 53 | Domain name system (DNS) service to manage your domain names and DNS records. |
AWS Certificate Manager | AWS Certificate Manager is a service that provides you with SSL/TLS certificates that you can use to secure your application. Spree in production works only with HTTPS. |
AWS ECR | Amazon Elastic Container Registry is a fully managed Docker container registry that makes it easy to store, manage, and deploy Docker container images. |
Secret | Description |
---|---|
AWS_ACCESS_KEY_ID | AWS access key ID |
AWS_SECRET_ACCESS_KEY | AWS secret access key |
AWS_ACCOUNT_ID | AWS account ID |
SUBNET_ID_1 | First subnet ID |
SUBNET_ID_2 | Second subnet ID |
SECURITY_GROUP_ID | Security group ID |