Sign inSign up

sourceboat/aws-deploy

By sourceboat

•Updated over 4 years ago

Image
0

100K+

sourceboat/aws-deploy repository overview

⁠sourceboat/aws-deploy

Docker Build Status Release Docker Pulls Image Size MicroBadger Layers

This docker image contains deployment tools for AWS.

⁠What's included?

⁠Usage

⁠Simple ECS Deployment with ELB via GitLab CI
deploy:
    stage: deploy
    image: sourceboat/aws-deploy:latest
    variables:
        DEFAULT_LAUNCH_TYPE: FARGATE
        REGION: eu-central-1
        PROJECT_NAME: production
        CLUSTER: my-ecs-clustername
        TARGET_GROUP_ARN: arn:aws:...
        CONTAINER_NAME: app
        CONTAINER_PORT: 8080
        TIMEOUT: 20
    script:
        - ecs-cli configure --cluster $CLUSTER --default-launch-type $DEFAULT_LAUNCH_TYPE --region $REGION --config-name default-cluster
        - ecs-cli configure default --config-name default-cluster
        - ecs-cli compose --project-name $PROJECT_NAME service up --target-group-arn $TARGET_GROUP_ARN --container-name $CONTAINER_NAME --container-port $CONTAINER_PORT

Don't forget to provide $AWS_ACCESS_KEY_ID and $AWS_SECRET_ACCESS_KEY via GitLab CI/CD variable.

⁠Changelog

Check releases⁠ for all notable changes.

⁠Credits

⁠License

The MIT License (MIT). Please see License File⁠ for more information.

Tag summary

Content type

Image

Digest

Size

173.2 MB

Last updated

over 4 years ago

docker pull sourceboat/aws-deploy