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: 110,788

  1. In regard to myself I was seized with a giddiness and vomiting,ラブドール 中出しthelatter of which I endeavoured to provoke.

  2. Kennethpem dice:

    best mail order pharmacy canada: canadian pharmacy drugs online – thecanadianpharmacy

  3. in the year 426 of the Christian ?ra.ラブドール 中出しTheir number,

  4. and still build their ships without employing sometimes a single nai Vessels of this kind are still constructed at Archange In Arabia the planks of ships were sewed together.See Plin.ラブドール 中出し

  5. Kennethpem dice:

    Online medicine home delivery: indian pharmacy paypal – Umass India Pharm

  6. JasonPlete dice:

    In the latest blow to the US offshore wind industry, the Trump administration announced Monday it is suspending the federal leases for all large offshore wind projects currently under construction, citing unspecified national security risks.
    [url=https://tripscan101.cc]tripscan[/url]
    It marks a major escalation in President Donald Trump’s attacks against offshore wind, a form of energy he has long railed against. The suspension could impact billions of dollars of investment and stall nearly six gigawatts of new electricity set to come online in the next few years.
    [url=https://tripscan101.cc]tripscan[/url]
    The new sweeping order impacts five projects being built in the Atlantic Ocean, including a massive Virginia offshore wind farm that could eventually be the largest such project in the nation. Set to be completed by the end of 2026, it would supply electricity to Virginia, the state with the world’s largest cluster of power-hungry data centers — and skyrocketing energy costs partially tied to that growing demand. Other wind farms impacted are off the coast of New England.
    [url=https://tripscan101.cc]трипскан вход[/url]
    The exact national security risks of concern are unclear. In a news release, the Interior Department cited “national security risks identified by the Department of War in recently completed classified reports,” but didn’t say specifically what those risks were. The release also noted the potential for wind turbine movement and light reflectivity to interfere with radar.

    In a Monday Fox Business interview, Interior Sec. Doug Burgum said the Department of Defense has “conclusively” determined that large offshore wind farms “have created radar interference that creates a genuine risk for the US,” especially “our east coast population centers.”

    A Department of Defense official said it is working with Interior and other agencies to “assess the possibility of mitigating the national security risks posed by these projects” but had no additional comment.

    Last year, Sweden blocked the construction of new wind farms over concerns they could interfere with military radar, amid heightened tensions between the European Union? and Russia. But experts have noted the design of wind farms can be adjusted to account for the issue, and it’s something US government officials have been aware of for decades.

    Virginia Sens. Mark Warner and Tim Kaine, who serve on the Senate Intelligence and Armed Services committees, respectively, said the administration had “failed to share any new information” justifying the sudden pause.
    tripskan
    https://tripscan101.cc

  7. JosephDug dice:

    canadian pharmacy com: prescription drugs canada buy online – reputable canadian online pharmacies

  8. I’d like to thank you for the efforts you’ve
    put in penning this blog. I really hope to view the same high-grade blog posts by you later on as well.

    In truth, your creative writing abilities has motivated me to get my own site now
    😉

  9. Kennethpem dice:

    canadian pharmacy: Nyu Pharm – canadian pharmacy

  10. CraigWed dice:

    safe place to buy semaglutide online mexico [url=http://unmpharm.com/#]order azithromycin mexico[/url] order azithromycin mexico

  11. Johnnydix dice:

    In the latest blow to the US offshore wind industry, the Trump administration announced Monday it is suspending the federal leases for all large offshore wind projects currently under construction, citing unspecified national security risks.
    [url=https://tripscan101.cc]trip scan[/url]
    It marks a major escalation in President Donald Trump’s attacks against offshore wind, a form of energy he has long railed against. The suspension could impact billions of dollars of investment and stall nearly six gigawatts of new electricity set to come online in the next few years.
    [url=https://tripscan101.cc]trip scan[/url]
    The new sweeping order impacts five projects being built in the Atlantic Ocean, including a massive Virginia offshore wind farm that could eventually be the largest such project in the nation. Set to be completed by the end of 2026, it would supply electricity to Virginia, the state with the world’s largest cluster of power-hungry data centers — and skyrocketing energy costs partially tied to that growing demand. Other wind farms impacted are off the coast of New England.
    [url=https://tripscan101.cc]трипскан[/url]
    The exact national security risks of concern are unclear. In a news release, the Interior Department cited “national security risks identified by the Department of War in recently completed classified reports,” but didn’t say specifically what those risks were. The release also noted the potential for wind turbine movement and light reflectivity to interfere with radar.

    In a Monday Fox Business interview, Interior Sec. Doug Burgum said the Department of Defense has “conclusively” determined that large offshore wind farms “have created radar interference that creates a genuine risk for the US,” especially “our east coast population centers.”

    A Department of Defense official said it is working with Interior and other agencies to “assess the possibility of mitigating the national security risks posed by these projects” but had no additional comment.

    Last year, Sweden blocked the construction of new wind farms over concerns they could interfere with military radar, amid heightened tensions between the European Union? and Russia. But experts have noted the design of wind farms can be adjusted to account for the issue, and it’s something US government officials have been aware of for decades.

    Virginia Sens. Mark Warner and Tim Kaine, who serve on the Senate Intelligence and Armed Services committees, respectively, said the administration had “failed to share any new information” justifying the sudden pause.
    трипскан вход
    https://tripscan101.cc

  12. Judi Bola dice:

    Ajakan duit gajian buat bersenang-senang lebih awal.

  13. Ꭺ片 dice:

    Hello, Neat post. There is a problem along with your web site in internet explorer, would check this?

    IE nonetheless is the market chief and a big element of other people will leave
    out your wonderful writing because of this problem.

    Also visit my web blog … Ꭺ片

  14. JosephDug dice:

    order azithromycin mexico: best mexican pharmacy online – buy viagra from mexican pharmacy

  15. MarcoNouct dice:

    In the latest blow to the US offshore wind industry, the Trump administration announced Monday it is suspending the federal leases for all large offshore wind projects currently under construction, citing unspecified national security risks.
    [url=https://tripscan101.cc]трипскан вход[/url]
    It marks a major escalation in President Donald Trump’s attacks against offshore wind, a form of energy he has long railed against. The suspension could impact billions of dollars of investment and stall nearly six gigawatts of new electricity set to come online in the next few years.
    [url=https://tripscan101.cc]трипскан сайт[/url]
    The new sweeping order impacts five projects being built in the Atlantic Ocean, including a massive Virginia offshore wind farm that could eventually be the largest such project in the nation. Set to be completed by the end of 2026, it would supply electricity to Virginia, the state with the world’s largest cluster of power-hungry data centers — and skyrocketing energy costs partially tied to that growing demand. Other wind farms impacted are off the coast of New England.
    [url=https://tripscan101.cc]трипскан вход[/url]
    The exact national security risks of concern are unclear. In a news release, the Interior Department cited “national security risks identified by the Department of War in recently completed classified reports,” but didn’t say specifically what those risks were. The release also noted the potential for wind turbine movement and light reflectivity to interfere with radar.

    In a Monday Fox Business interview, Interior Sec. Doug Burgum said the Department of Defense has “conclusively” determined that large offshore wind farms “have created radar interference that creates a genuine risk for the US,” especially “our east coast population centers.”

    A Department of Defense official said it is working with Interior and other agencies to “assess the possibility of mitigating the national security risks posed by these projects” but had no additional comment.

    Last year, Sweden blocked the construction of new wind farms over concerns they could interfere with military radar, amid heightened tensions between the European Union? and Russia. But experts have noted the design of wind farms can be adjusted to account for the issue, and it’s something US government officials have been aware of for decades.

    Virginia Sens. Mark Warner and Tim Kaine, who serve on the Senate Intelligence and Armed Services committees, respectively, said the administration had “failed to share any new information” justifying the sudden pause.
    трип скан
    https://tripscan101.cc

  16. JosephDug dice:

    Umass India Pharm: Umass India Pharm – reputable indian online pharmacy

  17. RobertwoT dice:

    Как выбрать хорошее казино или рулетку для развлечений

    Выбор надежного казино или честной рулетки — важный шаг для тех, кто хочет получить яркие впечатления. В этом материале мы подробно рассмотрим, на что стоит уделять внимание при выборе и как не попасть в руки ненадежных площадок.

    Лицензия и репутация казино

    В первую очередь обращайте внимание на наличие действующей лицензии от авторитетных органов контроля — например, Мальты, Кюрасао или Великобритании.
    Репутация площадки складывается из мнений пользователей на независимых ресурсах. Высокие рейтинги и положительные отзывы говорят о честности сервиса.

    Ассортимент игр и варианты рулетки

    Хорошее казино предлагает разнообразие развлечений, включая рулетку — европейскую, американскую или французскую. Чем больше вариантов игр, тем выше вероятность найти подходящий тип, который подарит удовольствие и шансы на выигрыш.
    Особое внимание уделяйте поставщикам софта — проверенные компании, такие как NetEnt, Microgaming, Evolution Gaming, гарантируют прозрачность игр.

    Бонусы и акции для игроков

    Легальные казино всегда предлагают выгодные бонусные программы — приветственные подарки, кэшбэки и бесплатные вращения. Важно изучить условия отыгрыша, чтобы не столкнуться с непредвиденными ограничениями [url=https://toponlinecasino-ru.com/]new online casino[/url]

    Платежные методы и безопасность

    Оптимальный выбор — казино с большим перечнем способов оплаты, включая банковские карты, электронные кошельки, криптовалюты. Проверяйте скорость выплат и безопасность транзакций — современные платформы используют SSL-шифрование для защиты данных.

    Служба поддержки и техническая помощь

    Надежное казино обеспечивает оперативную поддержку клиентов через чат, телефон или электронную почту. Быстрая реакция и компетентные консультанты помогают решать вопросы и устраняют неполадки.

    Мобильная версия и удобство интерфейса

    Мобильный доступ к казино и рулетке — важный критерий. Современные платформы предлагают мобильные версии, где можно играть в любое время с комфортом.

    Итог

    Выбирая казино или рулетку, помните о следующих ключевых аспектах:

    – Правовая надежность
    – Хорошая репутация
    – Разнообразие развлечений
    – Щедрые бонусы
    – Удобные и безопасные платежи
    – Быстрая техническая поддержка
    – Удобный интерфейс

    Следуя этим рекомендациям, вы сможете выбрать лучшее казино или рулетку и получать удовольствие от игры с максимальной безопасностью и комфортом. Удачи и крупных выигрышей!

  18. I love what you guys tend to be up too. This kind of clever work and exposure!
    Keep up the superb works guys I’ve added you guys to blogroll.

  19. “ you’re helping and abetting him,and I wish you wouldn’t.銉┿儢銉夈兗銉?銈儕銉嬨兗

  20. I blog frequently and I truly appreciate your information. The article has
    truly peaked my interest. I’m going to book mark your site and keep checking for
    new information about once a week. I subscribed to your RSS feed as well.

  21. slot 88 dice:

    Hello! I know this is kinda off topic but I’d figured I’d ask.
    Would you be interested in exchanging links or maybe guest authoring a blog article or vice-versa?
    My site discusses a lot of the same topics as yours and I feel we could greatly
    benefit from each other. If you’re interested feel free to send me an e-mail.

    I look forward to hearing from you! Awesome blog by the way!

  22. ラブドール 中出しwhich is a hundred palms in length,and forty in breadth,

Responder a hack para kings of war Cancelar respuesta