New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fargate-deploy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fargate-deploy

Deploy container images to Amazon EC2 Container Service (ECS)

  • 2.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

#fargate-deploy Deploy container images to Amazon EC2 Container Service (ECS).

Configuration

Unless indicated, the following environment variables are required:

Environment VariableDescription
AWS_ACCESS_KEY_IDAWS credentials
AWS_SECRET_ACCESS_KEYAWS credentials
AWS_SESSION_TOKEN(Optional) AWS credentials
REGIONThe AWS region
CLUSTERThe name of the target ECS cluster
SERVICEThe name of the target ECS service
CONTAINERThe name of the target ECS container
IMAGEThe image repository (e.g. some-user/some-app)
IMAGE_TAGThe tag to be deployed
WAITWait until the service has reached a stable state (defaults to false)

Example Usage

npm install --global fargate-deploy
REGION=us-west-1 CLUSTER=my-cluster SERVICE=my-service CONTAINER=my-container IMAGE=my-user/my-repo IMAGE_TAG=latest WAIT=true fargate-deploy

Alternate Usage

Install from the command line:

npm install --save-dev fargate-deploy

Add a deploy script to your package.json:

{
  "scripts": {
    "deploy": "REGION=us-west-1 CLUSTER=my-cluster SERVICE=my-service CONTAINER=my-container IMAGE=my-user/my-repo fargate-deploy"
  }
}

When you're ready to deploy, make sure your image has been pushed to the registry. Then from the command line:

IMAGE_TAG=latest npm run deploy

Keywords

FAQs

Package last updated on 22 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc