Giter Club home page Giter Club logo

magento2-aws-terraform's Introduction

tl;dr

  • This is WIP
  • Once it is finished, you can enter a single command and you will have a super crazy magento 2 cloud thing
  • Don't use it yet

Dont use it yet

Todos:

  • Add VPC's
  • Add Cloudfront and S3 for Media Storage
  • Add SES
  • Add Worker for Crons
  • Add Job to get SQL Backups. We already have RDS Snapshots, but it might be useful to have another SQL Dump from time to time.
  • Add Cloudwatch Metrics
  • Add Tests for InSpec

Magento 2 AWS Terraform

Have you ever been annoyed by setting up a new server and the amount of time you lost with stupid configurations? Especially for Magento, you server setup will be complex and heavy.

You often don't have the time to configure a setup that is fully optimized and follows the Magento 2 best practices. This repository tries to solve this issue.

What you can expect from this repository

This repository contains a terraform provisioned and optimized Magento 2 that can be deployed to AWS in minutes. Imagine a new customer signs a contract and you'll be able to deploy his System in minutes.

You will find a .tf file for each resource that is used in AWS. Files with a _ prefix are used to structure the code.

Prerequisites

If you haven't done anything with AWS yet, you should stop reading at this section. I won't describe terraform, AWS or the benefits of IaC in this repository. There are tons of resources out there, that will help you to dig into within a couple of hours.

Let me recommend some resources:

Before you start

Before you start with this repo, you should make sure you have everything installed and activated.

You will need an activated AWS Account. You will need terraform installed on you computer.

What does it cost?

You will pay the amount of resources that you use. This guide makes use of an Aurora Cluster that is more expensive than a standard db instance. I do use at least two instances of EC2 and one Instance for Redis (Elasticache).

If you stick with the default, the whole setup should be between $100-$200 a month (no guarantee).

Run it

Let's setup our Magento 2 within minutes.

terraform apply

magento2-aws-terraform's People

Contributors

davidlambauer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.