A CLI tool for deploying ECS and Lambda services
Project description
Deploybot
Deploybot is a command-line interface (CLI) tool designed to deploy ECS and Lambda services. It allows users to configure their AWS account and environment, and then build and deploy services with ease.
Prerequisites
- Python 3.6 or higher
- Poetry for dependency management
- AWS CLI configured with the necessary credentials
Installation
-
Clone the repository:
git clone git@github.com:respond-io/deploybot-cli.git cd deploybot-cli
-
Install dependencies using Poetry:
poetry install Run all commands in poetry shell run bellow command poetry shell
Configuration
Before using Deploybot, you need to configure it with your AWS account ID, environment, and base path.
-
Run the configure command:
deploybot configure
Follow the prompts to enter your AWS account ID, select the environment (staging or production), and provide the base path to your services.
Example:
Enter your AWS account ID: 123456789012 Select environment: [staging, production]: staging Enter the base path: /home/ubuntu/staging (for example)
Usage
Deploybot supports two main commands: ecs
and lambda
.
Deploying ECS Services
-
Build and deploy an ECS service:
deploybot ecs deploy <service_name>
Example:
deploybot ecs deploy auth
-
Build an ECS service:
deploybot ecs build <service_name>
Example:
deploybot ecs build auth
Deploying Lambda Services
-
Deploy a Lambda service:
deploybot lambda deploy <service_name>
Example:
deploybot lambda deploy data-export
Testing
To run the tests, use the following command:
pytest tests/test_*.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for deploybot-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dc97d723d5c008fa351e88d913637dbc1a60956eccc937a71ec2c32e5d677b1 |
|
MD5 | e045ed078740f2fd1465f00f524d3bc6 |
|
BLAKE2b-256 | a3b564e8fb16aafe2cc2a6aafc984251ad1415d8f07559cbd5300ea51e55abc8 |