要部署使用Ansible剧本的AWS(亚马逊)EC2播放框架应用程序 [英] To deploy Play Framework apps in AWS (Amazon) ec2 using Ansible playbook

查看:208
本文介绍了要部署使用Ansible剧本的AWS(亚马逊)EC2播放框架应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很新的AWS EC2平台。我想部署在EC2我玩2 *应用程序。此外,我需要通过混帐在以后的更新进行部署。我已经在上面做一个像样的研究,发现 Ansible剧本可能是一个更好的这种解决方案。但我使用的是Windows,并使用腻子EC2配置它。现在我知道非常少有关命令行程序和 Ansible Ansible剧本。我需要一些帮助,以找到在EC2通过量混帐直接发挥运行解决方案。我分享了一些有趣的阅读在互联网上。

I am very new to AWS ec2 platform. I wanted to deploy my play 2.* app in the ec2. Also I need to deploy it through git in future update. I have done a decent research on it and found Ansible playbook could be a better solution to this. But I am using windows and configured it with ec2 using putty. Now I know very less about command line programming and Ansible and Ansible playbook. I need some help to find the solution for play to run in ec2 throug git directly. I am sharing some interesting read on Internet.

1> <一个href="http://perevillega.com/post/2013/04/01/28/using-ansible-to-deploy-play-framework-apps-in-ec2-instances/"相对=nofollow>阅读它来了解Ansible到deply在AWS发挥

2> Ansible +播放+ AWS EC2

请帮助,如果你在某个领域的任何知识或经验。如果有任何简单的方法来部署EC2除此以外的打法,你的文章也将是有帮助的。 谢谢!

Please help if you have any knowledge or experience in certain field. If there is any easy way to deploy play in ec2 other than this, your post will also be helpful. Thanks!

推荐答案

Boxfuse 提供我们认为这是多大的替代解决方案更容易。

Boxfuse offer an alternative solution which we believe is much easier.

使用Boxfuse的本地播放2支持你现在可以简单地执行

With Boxfuse's native Play 2 support you can now simply execute

boxfuse运行my-play-app-1.0.zip -env =督促

和自动这将:

  • 创建一个最小的AMI量身定制您的播放2应用
  • 创建一个弹性IP
  • 使用正确的权限创建安全组
  • 您的应用程序的启动一个实例

所有未来的更新中进行蓝/绿部署零停机时间。

All future updates are performed as blue/green deployments with zero downtime.

这也适用于弹性负载均衡器和自动缩放组和Boxfuse自由层的设计,以适应AWS免费梯队。

This also works with Elastic Load Balancers and Auto-Scaling Groups and the Boxfuse free tier is designed to fit the AWS free tier.

您可以阅读更多关于它在这里: https://boxfuse.com/blog/playframework-aws

You can read more about it here: https://boxfuse.com/blog/playframework-aws

免责声明:我Boxfuse的创始人兼CEO

这篇关于要部署使用Ansible剧本的AWS(亚马逊)EC2播放框架应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆