Infraestructura como código

Festival Politraining Industria 4.0

Infraestructura como código

En este nuevo artículo me gustaría explicar que es infraestructura
como código (IAC), pero primero definamos a que nos referimos cuando
hablamos sobre infraestructura.
Cuando hablamos de infraestructura nos referimos en este caso, a un
servidor(vps) , dominios, redes privadas. etc.

Definición

El concepto de infraestructura como código no es más que la forma de
automatización de nuestra infraestructura a través de código .

Puede que tu seas un freelance o trabajes en una compañía, en la que
constantemente se hace deploy de nuevas aplicaciones.
Imagina tener que estar creando un servidor(vps), agregando las llaves
ssh, creando un record A, load balancers, continuar con la instalación y
configuración de nginx ,mysql docker, php, etc. Todo esto cada vez que
tengas que hacer deploy de una nueva aplicación.
Este es un proceso en el que muchas veces se le dedica tiempo
innecesario.

Es por ello que muchas veces, es mejor encontrar o crear una solución para la automatización en este tipo de procesos.

Para poder trabajar o usar infraestructura como código, lo único que
tenemos que hacer es bien, crear nuestro propio script, o bien usar
alguna herramienta de un tercero.

Usualmente cuando trabajamos con infraestructura como código,
independiente de la herramienta que usamos, siempre trabajamos con algún
lenguaje para la descripción de la configuración, pudiendo ser json,
yaml o algún nuevo lenguaje propio del software (domain-specific
language ). dentro del archivo de configuración, es donde definiremos
todo los componentes necesarios para crear nuestra infraestructura,
variando de sintaxis entre los diferentes softwares que podemos usar.

Cabe mencionar que, usualmente este tipo de software nos permite,
configurar a nuestra infraestructura, de una manera muy detallada,
dependiendo del tipo de proveedor que elijamos , por ejemplo, poder
configurar redes privadas, sistema operativo, podemos agregar dominios,
subdominios , agregar nuestra claves ssh, elegir el datacenter etc. Algo
interesante es que, podemos agregar y ejecutar scripts dentro del vps
durante la construcción, esto para poder configurar dentro todo el
software.

Aunque de igual forma, tenemos otro concepto llamado configuración
como código (CaC)
Qué es exactamente el mismo concepto, pero este está orientado a la
configuración del software dentro de la infraestructura(vps), por
ejemplo la instalación y configuración de nginx, docker, ruby etc. Sin
embargo muchas veces los mismos proveedores (IaC) tienen la misma
funcionalidad o su funcionalidad es intercambiable.

Ventajas y desventajas.

Dentro de las ventajas como hemos mencionado es el de elaborar una
plantilla que podemos re-utilizar múltiples veces, eliminando la
necesidad de realizar configuraciones manuales. Esta sería, la principal
y más importante característica de este tipo de software.
Ya que con ello podemos hacer la replicación de la misma configuración,
para diferentes entornos, para testing, QA, producción, desarrollo, etc.

Otra ventaja que podemos encontrar es que usualmente este tipo de
software es del tipo agnóstico lo que quiere decir que no importa, el
proveedor en donde estés configurando nuestra infraestructura, pudiendo
ser digital ocean, amazon web services, azure, e inclusive virtualbox.

Una desventaja que podemos encontrar es quizá el tiempo que le
dedicamos en configurar nuestro archivo de configuración, así mismo, el
tener que modificar el archivo si es que agregamos una nueva tecnología o
configuración a nuestra infraestructura.

Lista de software para IaC y CaC

Debajo vemos una lista con varios de los proveedores de infraestructura y configuración como código más sobresalientes.
Cada uno de ellos comparten cierta similitud, en cuanto a configuración.

  • Terraform
  • Chef
  • Puppet
  • Ansible
  • SaltStack

Conclusión

La automatización es sin duda una de las mejores cosas que podemos
hacer para ahorrar tiempo y muchas veces recursos.
El uso de IaC, dentro de una empresa o de manera independiente trae
muchas ventajas a largo plazo. Este concepto de IaC no es para nada
nuevo, es un concepto de muchos años. De hecho muchos autores. hacen
referencia a que este concepto fue la base de la cual ha surgido toda
esta tendencia del devops.
Espero que este pequeño artículo te haya servido, o te haya incentivado a
investigar más sobre el tema, y tal vez a aprender una nueva
tecnología.

Comments: 17,074

  1. Hi, i read your blog occasionally and i own a similar one
    and i was just wondering if you get a lot of spam feedback?
    If so how do you reduce it, any plugin or anything you can recommend?
    I get so much lately it’s driving me insane so any help is
    very much appreciated.

  2. Fantastic beat ! I wish to apprentice while you amend your website, how can i subscribe for a blog web site?
    The account aided me a acceptable deal. I had been tiny bit acquainted
    of this your broadcast provided bright clear concept

  3. It is the best time to make some plans for the future and it’s time
    to be happy. I have read this post and if I could I desire to suggest you
    few interesting things or suggestions. Perhaps you can write next articles referring to
    this article. I wish to read even more things about it!

  4. rftwrs dice:

    1 teaspoon grated fresh ginger, or 1-2 lumps of preserved ginger, chopped. Screaming, yelling, demanding things, or being rude can’t help the situation. After you done the account, you are going to now go with a payment scheme.

  5. It’s appropriate time to make some plans for the long run and
    it is time to be happy. I’ve learn this put up
    and if I may I wish to suggest you some fascinating issues or tips.

    Perhaps you can write next articles relating to
    this article. I wish to learn more issues approximately it!

  6. ラブドール エロIf your goal is a lifelong committed relationship,you want a partner to grow old with,

  7. wpfnzc dice:

    If you’re disabled based on federal government standards, and receive government disability payments, then you definitely generally might have your student loans discharged. Ask the managers in the places where you enjoy shopping if they have these types of programs, in case you aren’t already frequenting CVS and Winn-Dixie. com or call 877 636 Rx – Rx – About The Founders – Sandy A Reese Rigg, RN, Rph – Susan Chin Jackson, RPh – Both graduated from St.
    #nolvadex

  8. Hey there, You have done a great job. I will definitely digg it
    and personally recommend to my friends. I am confident they’ll be benefited from this website.

  9. joxjhscv dice:

    CVS Pharmacy must depend upon prescription drug sales to stay in business, but Wal-Mart doesn’t ought to add an enormous markup to the medications they sell. When all factors are considered, however, I would need to say how the prices charged at CVS Pharmacy and Rite Aid Pharmacy can be comparable. It is very important that the internet doctor exactly understands exactly what the problem is and accordingly increases the medicine.

  10. vyjsyx dice:

    By giving your pharmacy the complete name of your medication it is possible to better safe guard your health. Insurance is confusing first of all, plus it is constantly changing. An person that finds work in this profession can be a radiology technician if his competency qualifies him to complete work using x-ray, ultra-sound, CAT or ECG equipment providing you with the doctors with scanned images the latter uses as bases for diagnoses.

  11. bandar togel dice:

    Everyone loves what you guys are up too. This kind of clever work and reporting!
    Keep up the superb works guys I’ve incorporated you guys to my blogroll.

  12. 近年来跨境出海项目越来越多,印度已经成为全球增长最快的数字经济体之一,正在吸引全球电商、游戏、SaaS 等企业的聚焦。然而,要想在印度市场真正扎根,首先要解决的核心问题就是支付本地化。

    印度用户的支付行为极度本地化。虽然国际卡组织如 Visa、MasterCard 仍被广泛使用,但更受欢迎的却是如 **UPI(统一支付接口)**、**PhonePe**、**Paytm**、**Google Pay**、**Airtel Money** 等本地钱包与即时支付方式。这些支付通道交易成功率高,但国际商户若想对接却并不容易。

    我们初期尝试使用 Stripe、PayPal 接入印度,结果发现:用户体验差,转化率始终上不去。最后我们选择了 **yinduzhifu.us** 提供的印度原生支付服务,带来了极大的业务提升和流量留存。

    yinduzhifu.us 支持全套印度主流原生支付接口,主要包括:
    – UPI 实时转账,
    – 本地钱包(如 PhonePe、Paytm、MobiKwik、Freecharge),
    – 主流银行卡全覆盖,
    – 也支持 BharatQR、Airtel Money 等方式。

    真正解决了“用户想付款却没法付”的问题。

    在系统对接方面,yinduzhifu.us 提供了标准化 API 接口,可用于 PHP、Node.js、Python、Java 等主流语言,我们在不到三天时间内完成集成上线,整个过程异常顺利。

    风控系统方面,平台配备:
    – IP 限制与地理识别,
    – 用户行为分析与黑名单过滤,
    – 增强用户支付安全性,
    – 可自定义风险等级管理。

    再也不用担心被盗刷或退款风险。

    结算方面,yinduzhifu.us 提供 **INR 印度卢比、USD
    美元、USDT 稳定币** 多币种出款支持,而且结算周期短,一般 T+1,部分支持 T+0,当天到账。

    在合规方面,平台与持牌支付公司合作,符合 RBI(印度储备银行)支付规定,真正实现 **安全、稳定、可持续的合规运营**。

    我们已将 yinduzhifu.us 接入应用于多个项目,包括:
    – 游戏玩家充值体验大幅优化,
    – 教育订阅类 SaaS 平台,
    – 数字内容平台的会员支付模块,

    用户反馈非常积极,我们的客服负担也大大减少,支付成功率达到 95% 以上。

    总结来说,如果你要进入印度市场,原生支付不是锦上添花,而是**生死门槛**。
    **yinduzhifu.us** 提供的不仅是一个支付接口,而是一个完整的印度本地支付解决方案,包括:
    – 通道接入、
    – 技术对接、
    – 安全风控、
    – 资金结算、
    – 合规支持。

    不要等用户流失了才意识到“支付才是王道”。有了印度原生支付,你才真正具备在印度市场竞争的能力。

  13. Hi there all, here every person is sharing such experience, so it’s
    fastidious to read this webpage, and I used to pay a visit
    this website all the time.

  14. togel online dice:

    You ought to be a part of a contest for one of the most useful websites on the internet.

    I most certainly will recommend this website!

  15. Your style is really unique compared to other folks I have read stuff from.
    Thanks for posting when you have the opportunity,
    Guess I will just bookmark this page.

  16. Anónimo dice:

    Już od pewnego czasu sprawdzam różne kasyna internetowe i muszę powiedzieć, że
    theterritorian.com.au naprawdę wyróżnia się na
    tle innych. Przede wszystkim ogromny plus za intuicyjny interfejs i bardzo prosty
    proces rejestracji – wszystko przebiega sprawnie, bez
    zbędnych formalności. Na samym początku najbardziej ucieszył mnie bonus bez
    konieczności wpłaty – nie trzeba wpłacać żadnych pieniędzy,
    a można przetestować gry i sprawdzić atmosferę kasyna.

    Dodatkowo oferta powitalna i dostępność kodów
    promocyjnych sprawiają, że na starcie można zdobyć naprawdę sporo dodatkowych środków.

    Duży plus za pełne wsparcie dla polskich graczy i lokalizację strony,
    a sama strona dostosowana do lokalnych użytkowników – dzięki temu gra się przyjemnie
    i bez stresu. Pomoc techniczna działa dobrze i reaguje na pytania, a wszystko działa płynnie na PC i mobile.
    Według mnie warto się zainteresować tym kasynem, dla tych,
    którzy cenią uczciwość, wygodę i duży wybór gier.
    Zdecydowanie warto sprawdzić.

  17. ochgcckw dice:

    If you’re disabled according to federal government standards, and receive government disability payments, you then generally will surely have your student loans discharged. Screaming, yelling, demanding things, or becoming rude can’t help the situation. According to the Bureau of Labor Statistics (BLS), pharmacists perform lot more than provide prescription medications to patients.

  18. bet88 dice:

    I just like the helpful info you supply for your articles.
    I will bookmark your blog and take a look at again here frequently.

    I’m moderately certain I’ll be told a lot of new stuff proper here!
    Best of luck for the following!

  19. Hi, after reading this remarkable piece of writing i am also delighted to share my familiarity
    here with colleagues.

  20. yfzzzs dice:

    It may be used by fraudsters to gain access to your accounts at a number of financial institutions. The last volume of a certified local pharmacy professional training course takes a 12 month preparation software along with as soon because completing the particular tutorials you may purchase an associates education. They are also accountable for inspecting the operational treating dispensary and manufacturing units and providing a platform to enhance the pharmacists’ role to prescribe medicine independently.

  21. Charlesreuch dice:

    Онлайн-курсы обучение плазмотерапии онлайн: теория, видеоуроки, разбор техник. Обучение с нуля и для практикующих. Доступ к материалам 24/7, сертификат после прохождения, поддержка преподавателя.

  22. It’s amazing in support of me to have a website, which is good for my experience.

    thanks admin

Responder a 33win uy tín Cancelar respuesta