Tag: eb

通过awsebcli在Elastic Beanstalk(多容器Docker)中使用自定义的AMI

我试图find使用awsebcli命令行工具使用自定义多容器awsebcli AMI的awsebcli 。 通过他们的文档查看,我发现的最相关的选项是 – –platform参数: -p platform (for example, php, PHP, php5.5, "PHP 5.5", node.js, "64bit Amazon Linux 2014.03 v1.0.7 running PHP 5.5") 有没有办法让我在这里指定一个AMI ID,还是有另一个configuration选项,我应该使用? [编辑] 此外,这是我可以在.elasticbeanstalk/config.yml文件中指定的东西吗? global: application_name: bar default_ec2_keyname: foo default_platform: Multi-container Docker 1.9.1 (Generic) default_region: us-east-1 instance: r3.large profile: null sc: git 谢谢

执行“eb本地运行”时出现“configurationregistry无效”错误

我认为这是一个很容易解决的问题,但我似乎无法解决它! 我花了很多时间在Google / SO上寻找任何线索,但没有解决。 执行eb本地运行时,出现registry错误的无效configuration {17-05-17 10:22}[2.3.1]me:~/Repositories/xxx@master✗✗✗✗✗✗ chris% eb local run ERROR: InvalidConfigFile :: Invalid configuration for registry 12345678.dkr.ecr.eu-west-1.amazonaws.com {17-05-17 10:22}[2.3.1]me:~/Repositories/xxx@master✗✗✗✗✗✗ chris% 我的Dockerrun.aws.json中的图像行如下所示: { "AWSEBDockerrunVersion": 2, "volumes": [ { "name": "frontend", "host": { "sourcePath": "/var/app/current/frontend" } }, { "name": "backend", "host": { "sourcePath": "/var/app/current/backend" } }, { "name": "nginx-proxy-conf", "host": { "sourcePath": "/var/app/current/config/nginx" } }, […]