ansible aws_如何使用Ansible管理您的AWS资源

ansible aws

Wouldn't you love to be able to simply wave a wand and layers of resources in your AWS account would suddenly - and magically - spring to perfectly configured life, ready to meet your complex infrastructure needs?

您是否不希望能够简单地挥动魔杖,而AWS账户中的资源层会突然(神奇地)跳入完美配置的生活,准备满足您复杂的基础架构需求?

If you already have experience with AWS, then you know how much of a pain it can be to work through web page after web page in the Amazon management console as you manually provision services. And even the AWS CLI - which is a huge step up - can add its own complexity and effort to the mix.

如果您已经有过使用AWS的经验,那么您会知道在手动设置服务时,在Amazon管理控制台中逐个页面浏览一个页面会带来多大的痛苦。 甚至AWS CLI(这是一个巨大的进步)也可以增加其自身的复杂性和工作量。

That's not to say that AWS itself doesn't address the problem with their own class of powerful orchestration tools, including CloudFormation and their Elastic Kubernetes Service (something I address at length in my "Using Docker on AWS" course at Pluralsight). But neither of those options lives quite so close to your existing infrastructure - or uses as familiar a way of operating - as Ansible.

这并不是说AWS本身并没有使用自己的一类强大的编排工具来解决该问题,包括CloudFormation和其Elastic Kubernetes服务(我在Pluralsight的“在AWS上使用Docker”课程中对此做了详细介绍 )。 但是,这些选择都离您现有的基础架构太近了,也没有像Ansible这样熟悉的操作方式。

If you're already using Ansible for your on-premises operations, plugging it into your AWS account can sometimes be the quickest and most painless way to migrate operations to the cloud.

如果您已经使用Ansible进行本地操作,则有时将其插入您的AWS账户可能是将操作迁移到云的最快,最轻松的方法。

了解Ansible / AWS的优势 (Understanding the Ansible/AWS Advantage)

My book "Manage AWS Resources Using Ansible" - from which this article is excerpted - is designed to quickly introduce you to applying Ansible's declarative approach to working with AWS resources. Being able to "declare" the precise configuration results you want and then produce them by getting Ansible to read a playbook is Ansible's magic wand. When properly planned, it's amazing how simple it can be to execute complex, layered AWS deployments.

我的书“ 使用Ansible管理AWS资源 ”(摘录自本文)旨在快速向您介绍如何应用Ansible的声明性方法来处理AWS资源。 能够“声明”所需的精确配置结果,然后通过让Ansible读一本剧本来产生它们是Ansible的魔杖。 如果计划合理,执行复杂的分层AWS部署会多么简单。

Before we launch a simple "Hello World" Ansible playbook, let's first make sure you've got a properly-configured working environment through which Ansible can communicate with all its new friends in your AWS account.

在发布简单的“ Hello World” Ansible剧本之前,首先要确保您具有正确配置的工作环境,Ansible可以通过该环境与您的AWS账户中的所有新朋友

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值