Code Monkey home page Code Monkey logo

cloudyna_2015's Introduction

Cloudyna 2015

Resources for Workshop: Create microservice environment on Amazon EC2 Container Service

CloudFormation templates

  • base-for-ecs-cluster.json - simple base template which creates VPC with public and private subnets and launches RDS instance inside private subnet.

  • ecs-cluster.json - full base template which:

    • creates VPC with public and private subnets,
    • launches RDS instance inside private subnet,
    • creates Auto-Scaling group for instances that will be attached to created ECS cluster,
    • creates SQS Queue and S3 bucket for image processing tasks.
  • images-processor-service.json - creates ECS task definition and service for ImagesProcessor container.

  • images-uploader-service.json - creates ECS task definition and service for ImagesUploader container behind ELB.

  • phpmyadmin-service.json - creates ECS task definition and service for phpMyAdmin container begind ELB.

Database schema

DROP TABLE IF EXISTS `uploaded_images`;
CREATE TABLE `uploaded_images` (
    `image_id` INT(11) NOT NULL AUTO_INCREMENT,
    `thumbnail` VARCHAR(256),
    `optimized` VARCHAR(256),
    `original` VARCHAR(256) NOT NULL,
    `size` VARCHAR(32),
    `datetime` DATE DEFAULT NULL,
    CONSTRAINT `uploaded_images_pk` PRIMARY KEY (`image_id`)
) ENGINE=InnoDB DEFAULT CHARSET=`utf8` COLLATE=`utf8_general_ci`;

cloudyna_2015's People

Contributors

tskibinski avatar

Stargazers

Lukasz Stefaniszyn avatar

Watchers

 avatar

Forkers

lstefaniszyn

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.