- Ansible 2 Cloud Automation Cookbook
- Aditya Patawari Vikas Aggarwal
- 203字
- 2021-06-24 18:43:35
Working with cloud providers
Under normal circumstances, users execute the ansible-playbook command from a system, say A. This system has inventory, playbooks, roles, variable definitions and other information required to configure a remote system, say B, to a desired state.
When we talk about building infrastructure using Ansible, things change a bit. Now, we are not configuring a remote system. We are actually interacting with a cloud provider to create or allocate certain resources to us. We may, at a later point in time, choose to configure these resources using Ansible as well. Interacting with a cloud provider is slightly different from executing a regular playbook. There are two important points that we need to keep in mind:
- A lot of the tasks will execute on the local machine and will interact with API provided by a cloud provider. In principle, we won't need SSH setup because, in typical cases, requests will go from our local machine to the cloud provider using HTTPS.
- The cloud provider will need to authenticate and authorize our requests. Usually this is done by providing a set of secrets, or keys, or tokens. Since these tokens are sensitive, we should learn a little bit about Ansible Vault.

推薦閱讀
- 自動控制工程設(shè)計入門
- Circos Data Visualization How-to
- 流處理器研究與設(shè)計
- 讓每張照片都成為佳作的Photoshop后期技法
- RPA:流程自動化引領(lǐng)數(shù)字勞動力革命
- 工業(yè)機(jī)器人應(yīng)用案例集錦
- 網(wǎng)站前臺設(shè)計綜合實(shí)訓(xùn)
- 單片機(jī)技術(shù)項(xiàng)目化原理與實(shí)訓(xùn)
- 3ds Max造型表現(xiàn)藝術(shù)
- Learn Microsoft Azure
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·數(shù)控系統(tǒng)
- Kubernetes on AWS
- Raspberry Pi 3 Projects for Java Programmers
- 三維動畫制作(3ds max7.0)
- Hands-On Data Analysis with NumPy and pandas