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: 113,838

  1. goliath_haml dice:

    Discover the best games and bonuses at[url=https://goliath-casino.com/]goliath casino app[/url].
    One of the standout features of Goliath Casino is its generous welcome bonus designed to attract new players.

  2. goliath_fzml dice:

    Discover the best games and bonuses at[url=https://goliath-casino.com/]goliathcasino[/url].
    The platform boasts an extensive collection of games like slot machines, card games, and live dealer tables.

  3. The best choice I made for using the API. Smooth and clear transparency.

  4. The interface is easy onboarding, and I enjoy checking analytics here.

  5. Danielsnoni dice:

    п»їJust now, I stumbled upon an interesting resource regarding generic pills from India. It covers how to save money on prescriptions. If you are looking for reliable shipping to USA, check this out: п»їhttps://kisawyer.us.com/# india online pharmacy. Might be useful.

  6. MatthewLyday dice:

    Яко определить лучшую методику раскрутки сайта

    Шаг вперед веб-страницы — это центральный этап раскручивания любого коммерческого ресурса в течение интернете. Чтобы снять самолучший отдачу от продвижения, необходимо сознательно подогнуть лучшею стратегию. В ТЕЧЕНИЕ этой статье да мы с тобой разглядим, как задумать топовую стратегию для менеджмента интернет-проекта

    Понимание круглее раскрутки

    Спервоначалу нежели взяться этап продвижения, важно ясно определить задания. Это может фигурировать:

    – Рост количества посетителей
    – Эскалация числа заявок
    – Эскарп узнаваемости месторождение

    По всем правилам искусства сформулированные плана помогут определить именно ту стратегию, которая будет самое большее мастерящею точно для вашего бизнеса.

    Анализ целенаправленный аудитории

    Следующий этапный этапка — чувствование вашей целевой аудитории. Необходимо элита:

    – Кто является потенциальным вашим клиентом
    – Тот или другой затруднения он усердствуется разрешить
    – Где спирт проверяет речь на интернете

    Эрудиция ЦА поддержит разузнать каналы также технологии продвижения.

    Первостатейные технологии продвижения

    1. SEO-оптимизация (поисковая оптимизация)
    Этто ямато-э помогает повысить рейтинги сайта в течение искательских способ организации Bing равно привлечь элементарный трафик.

    2. Контекстуальная экспресс-реклама (оплата за щелчок)
    Юркий фотоспособ заразиться мотивированных посетителей через таргетированные объявления на поисковиках также соцсетях.

    3. SMM (телемаркетинг в течение соц сетях),
    Эксплуатация площадок Facebook чтобы порядка общества.

    4. Email-маркетинг (рассылки)
    Разрешает создавать длительные отношения со комнатой и еще провоцировать повторные продажи.

    5. Контент-маркетинг (ютуб)
    Формирование экспертного [url=http://web-analitik.info/forum/user/180505/]http://web-analitik.info/forum/user/180505/[/url] имиджа согласен цифирь полезной информации, соблазняющей также удерживающей посетителей.

    Как определить эффективный вариант

    – Околпачьте анализ соперниц
    – Установите широкодоступный бюджет
    – Учитывайте человечный и электрорадиотехнический потенциал
    – Тестируйте всяческие приборы а также мерьте результат
    – Используйте комбинированный подступ — почаще всего лучшими стают миксы SEO, рекламы и SMM.

    Энтимема

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

  7. situs toto dice:

    Helpful info. Lucky me I found your site by accident, and I’m surprised why this
    twist of fate didn’t came about in advance! I bookmarked it.

  8. RichardHex dice:

    Has anybody tried getting antibiotics without prescription. I saw a decent blog that lists safe places: п»їhttps://polkcity.us.com/# pharmacys in mexico. Any thoughts?.

  9. I value the seamless withdrawals and stable performance. This site is reliable.

  10. Danielsnoni dice:

    п»їActually, I stumbled upon an informative article about generic pills from India. It details how to save money for ED medication. If you are looking for cheaper alternatives, visit this link: п»ї[url=https://kisawyer.us.com/#]buy prescription drugs from india[/url]. Good info.

  11. Remarkable! Its truly amazing post, I have
    got much clear idea on the topic of from this paragraph.

  12. This is a topic that’s near to my heart… Thank you! Exactly where
    are your contact details though?

  13. RichardHex dice:

    If you want to save on pharmacy costs, you should try visiting this resource. It shows where to buy cheap. Good deals available here: п»їhttps://polkcity.us.com/# best online mexican pharmacy.

  14. Danielsnoni dice:

    п»їLately, I found a helpful report concerning ordering meds from India. It explains WHO-GMP protocols for ED medication. For those interested in factory prices, read this: п»їhttps://kisawyer.us.com/# indian pharmacy. Hope it helps.

  15. I am really enjoying the theme/design of your website.
    Do you ever run into any internet browser compatibility problems?
    A handful of my blog visitors have complained about my site not working
    correctly in Explorer but looks great in Safari.
    Do you have any solutions to help fix this problem?

  16. I highly recommend this site.ラブドール 中古Purchasing a doll from JP-Dolls The level of detail and realism is extraordinary,

  17. RichardHex dice:

    Has anybody tried safe Mexican pharmacies. I found a good blog that ranks affordable options: п»їUpstate Medical. Check it out.

  18. Spot on with this write-up, I actually think this site needs
    a lot more attention. I’ll probably be back again to read through more, thanks for
    the info!

  19. I was skeptical, but after several months of exploring governance, the accurate charts convinced me.

  20. I’ve been active for over two years, mostly for checking analytics, and it’s always scalable features.

  21. Danielsnoni dice:

    п»їLately, I found an informative resource about buying affordable antibiotics. It covers WHO-GMP protocols for generic meds. For those interested in factory prices, check this out: п»їhttps://kisawyer.us.com/# top 10 pharmacies in india. Good info.

  22. I trust this platform — withdrawals are scalable features and reliable. The updates are frequent and clear.

  23. RichardHex dice:

    п»їTo be honest, I stumbled upon an informative page regarding ordering meds from Mexico. It details the safety protocols when buying antibiotics. In case you need reliable shipping to USA, go here: п»їmexican pharmacies online. Hope it helps.

  24. Danielsnoni dice:

    п»їLately, I came across an interesting report concerning generic pills from India. It explains the manufacturing standards on prescriptions. If anyone wants reliable shipping to USA, visit this link: п»ї[url=https://kisawyer.us.com/#]kisawyer.us.com[/url]. Might be useful.

  25. I do not even know how I ended up here, but I thought this post was great.
    I don’t know who you are but certainly you are going to a famous blogger
    if you are not already 😉 Cheers!

Responder a Cazrfmm Cancelar respuesta