Quick Start
Prerequisites
1️⃣ Node.js (minimal version 12.5) and npm, yarn or pnpm:
You can install nodejs using package manager or download directly.
2️⃣ Install stacktape
npm install -g stacktape
or
yarn global add stacktape
3️⃣ AWS account
You can use use your existing AWS account or create new account.
4️⃣ Configure AWS profile on your systemm
You can use use your existing AWS profile.
If you don't have one, you need to:
- Create New IAM User.
- Save the credentials that you got from step 1. Then create new AWS profile on your system using interactive CLI:
stacktape createAwsCredentials
5️⃣ (optional) Docker
Some of the Stacktape's features require Docker. To install Docker on your system, you can follow this guide
Deploying your cloud application
1️⃣ Initialize new Stacktape project
You can initialize your Stacktape project using
stacktape init
You can choose from one of our pre-built example projects
2️⃣ Deploy
To deploy your application to the cloud, all you need is a single command:
stacktape deploy --stage staging --region eu-west-1
--stage option
used to deploy different instances of a single application. Commonly used stages are production, staging or testing.
--region option
used to specify AWS region where your stack is deployed to. Below is the list of available regions and their codes.
Region name & Location | code |
---|---|
US East (Ohio) | us-east-2 |
US East (N. Virginia) | us-east-1 |
US West (N. California) | us-west-1 |
US West (Oregon) | us-west-2 |
Africa (Cape Town) | af-south-1 |
Asia Pacific (Hong Kong) | ap-east-1 |
Asia Pacific (Mumbai) | ap-south-1 |
Asia Pacific (Osaka-Local) | ap-northeast-3 |
Asia Pacific (Seoul) | ap-northeast-2 |
Asia Pacific (Singapore) | ap-southeast-1 |
Asia Pacific (Sydney) | ap-southeast-2 |
Asia Pacific (Tokyo) | ap-northeast-1 |
Canada (Central) | ca-central-1 |
China (Beijing) | cn-north-1 |
China (Ningxia) | cn-northwest-1 |
Europe (Frankfurt) | eu-central-1 |
Europe (Ireland) | eu-west-1 |
Europe (London) | eu-west-2 |
Europe (Milan) | eu-south-1 |
Europe (Paris) | eu-west-3 |
Europe (Stockholm) | eu-north-1 |
Middle East (Bahrain) | me-south-1 |
South America (São Paulo) | sa-east-1 |