[localstack](1)环境搭建

前置

安装

1.使用pip安装aws-cli,则可以在cmd中使用aws命令:
$pip install awscli

2.从dockerhub拉取kinesis模拟器镜像:
$docker pull dlsniper/kinesalite

3.拉取localstack镜像,并且启动:
docker run -i -p 4567-4583:4567-4583 -p 8080:8080 -e DEBUG=1 localstack/localstack

看到上图输出,则表示容器已经启动完成,打开http://localhost:8080校验是否正常启动

容器涉及组件

组件 URL
API Gateway http://localhost:4567
Kinesis http://localhost:4568
DynamoDB http://localhost:4569
DynamoDB Streams http://localhost:4570
Elasticsearch http://localhost:4571
S3 http://localhost:4572
Firehose http://localhost:4573
Lambda http://localhost:4574
SNS http://localhost:4575
SQS http://localhost:4576
Redshift http://localhost:4577
ES (Elasticsearch Service) http://localhost:4578
SES http://localhost:4579
Route53 http://localhost:4580
CloudFormation http://localhost:4581
CloudWatch http://localhost:4582
SSM http://localhost:4583
SecretsManager http://localhost:4584
StepFunctions http://localhost:4585
CloudWatch Logs http://localhost:4586
EventBridge (CloudWatch Events) http://localhost:4587
STS http://localhost:4592
IAM http://localhost:4593
EC2 http://localhost:4597
posted @ 2019-12-11 15:28  马达狮子  阅读(834)  评论(0)    收藏  举报