Aug 24, 2016

Amazon Web Services for Magento 2

Amazon Web Services for Magento 2
Amazon Web Services provide reach set of cloud-computing services to setup, build and run scalable environment.

Amazon Web Services provide reach set of cloud-computing services to setup, build and run scalable environment. Since I am using AWS as my main hosting provider for running Magento 2 websites I want to share minimum set of services to have everything up.

Amazon Web Services

Amazon EC2

First and most widely used service is Amazon EC2 or Amazon Elastic Compute Cloud. It is a web service that provides resizable compute capacity in the cloud. It is very flexible, easy to launch cloud servers. I use EC2 for running Magento 2 with Apache or Nginx HTTP web server. On top of it there is Varnish server configured to accept all incoming requests to a web server.

Amazon RDS

Next service I use is Amazon RDS or Amazon Relational Database Service. Amazon RDS makes it easy to set up, operate, and scale MySQL deployments in the cloud. It also supports Multi-AZ deployments to enhance database availability by creating a Replica in a different Availability Zones and dedicated hardware. AWS will automatically switch to a replicate database in case of primary one goes down.

Amazon ElastiCache

Amazon ElastiCache service is useful when you want to setup Magento 2 sessions and cache in a in-memory storage. Amazon ElastiCache supports Redis and Memcached memory object systems. For Magento 2 it is recommended to use Redis storage.

AWS provides Free-tier (free of charge) package which allows to create an account and play with services before deciding to but it.

Useful Links

There is benchmarking article shows comparison between an Aurora vs MySQL databases for Amazon RDS. Have a look before deciding which database to use.

Official Magento 2 documentation provides support in setting Redis as a cache and session storage for a Magento 2 server.

If you would like to understand better how to setup and work with Redis in DigitalOcean blog you may read great article about it.

Question of the Week

Do you use other than AWS hosting providers on your projects? Is it good, would you recommend me to try and write about it?

Send your reply to blog@maxpronko.com or leave a comment below.

Thank you for being part of The Devletter Community. Keep coding, Max

magento 2 the devletter aws

Share Article

Related Articles

Comments

Next Article Previous Article

Join Devletter Community

Subscribe to FREE Magento 2 tips and tutorials email I send every week.

I will send you my 3 best tutorials with interesting content immediately.

LinkedIn Twitter Facebook