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: 20,079

  1. hydmtq dice:

    In order to be entitled to federal loans a Free Application for Federal Student Aid (FAFSA) should be completed and aid is granted based upon student need, tuition rates on the college, as well as other factors. Fear not, after a while you will know just how to handle different kinds of problems that may come about. If you get prescriptions from month to month make sure your pharmacy has your most current prescription insurance information.
    Online pharmacy coupons

  2. depo123 dice:

    If some one desires to be updated with latest technologies after that he
    must be pay a visit this web site and be up to date all the
    time.

  3. jolgwplk dice:

    Location and the sort of employer include the final factors in determining simply how much pharmacists make. When I asked the tech about this new action she stated that yes, it is a whole new policy and that it can be a “law” that most pharmacies must adhere to. Cocci are sphere-shaped bacteria you need to include streptococci, that are chains of cocci bacteria, and staphylococci, that are clusters of cocci bacteria1.
    Online pharmacy for mental health

  4. https://stanproperty.com/bungalow/

    I love looking through an article that will make men and women think.

    Also, thanks for allowing for me to comment!

  5. I spoke and he took me gently by the hand: it was indented with the impress of human nails.コスプレ エッチHe directed my attention to some object against the wall.

  6. the Irish example must have reinforced it.えろ コスプレInIreland “/Will/ I light the fire,

  7. パンスト エロand the thunder,and the sighs of the water-lilies.

  8. Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.

  9. luna99 dice:

    Can I simply just say what a relief to find someone
    who really knows what they’re talking about on the net.
    You definitely know how to bring a problem to light and
    make it important. More and more people must read this and understand this
    side of the story. I was surprised you aren’t more popular since
    you most certainly have the gift.

  10. mjjikq dice:

    This online pharmacy is basically very helpful for old ailing patients and physically disabled persons. In 1960, the Ayala Group of Companies offered Mariano Que a place to lease in the shopping center that has been about being developed inside heart of Makati. com or call 877 636 Rx – Rx – About The Founders – Sandy A Reese Rigg, RN, Rph – Susan Chin Jackson, RPh – Both graduated from St.
    Generic medications online

  11. We came at length to the foot of the descent,パンスト エロand stood together on the damp ground of the catacombs of the Montresors.

  12. I am actually happy to glance at this weblog posts
    which contains lots of useful facts, thanks for providing these kinds of information.

  13. 銈广儓銉冦偔銉炽偘 銈ㄣ儹I ever should escape from it–and consideringthat my whole wardrobe consisted of a shirt and a pair of trousers,Iresolved to doff these garments at once,

  14. Scottydar dice:

    Использование виртуальных номеров США для приема сообщений

    Сегодня огромное количество людей сталкиваются с задачей приема текстовых сообщений из различных онлайн-сервисов. Особенно это актуально, когда необходимо пройти регистрацию с помощью виртуального номера Соединённых Штатов. Если возникла такая необходимость помогают онлайн сервисы приема сообщений.

    Виртуальные американские номера для сообщений

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

    Почему выбирают виртуальные смс номера Соединённых Штатов

    – Возможность регистрироваться на недоступных площадках. Популярные приложения ограничивают регистрацию иностранным номерам.
    – Анонимность и конфиденциальность. Виртуальный телефон для sms помогает скрыть настоящий телефон.
    – Простое получение сообщения. Процедура занимает несколько минут, не требует дополнительных настроек.

    Как работает прием СМС онлайн на виртуальные номера США

    1. Пользователь выбирает сервис для временной аренды номера.
    2. Выполняет вход на интересующем сайте.
    3. Выбирает американский номер из списка доступных.
    4. Указывает виртуальный номер при подтверждении аккаунта.
    5. Следит за приходом уведомления — сообщение появляется в личном кабинете.

    Применение виртуальных номеров Соединённых Штатов

    Цифровые телефонные номера США широко используются для:
    – Активации профилей в приложениях (Twitter, Facebook, Instagram, WhatsApp, Telegram) [url=https://onlinesim.io/ru/free_numbers/usa]Number[/url]
    – Работы с финансовыми платформами
    – Разовых регистраций на сайтах

    Надёжные сайты для получения смс

    В списке популярных решений можно выделить:
    – Receive-smss
    – Twilio
    – Receive-free-sms

    Заключение

    Применение цифровых номеров для сообщений из США — современный инструмент для безопасности и анонимности. Подбирайте надежную платформу — решайте вопросы с подтверждением аккаунта в пару кликов!

  15. パンスト エロI supposed to be the pictured image of a huge pendulum such as we see on antique clocks.There was something,

  16. Michealdep dice:

    Get SMS messages online with Philippine virtual number

    Nowadays, numerous individuals need to receive SMS online. While activating services on a portal, you often need a phone number from the Philippines. In this situation, virtual numbers for SMS receive become useful.

    What is a virtual phone number for SMS

    A [url=https://onlinesim.io/free_numbers/philippines]number phone[/url] is a number that functions without requiring a local SIM. Websites for SMS reception make it possible for you to get activation messages from various services.

    Benefits of using online Philippine SMS numbers

    – Bypass restrictions. Many services require a local Philippine number, and a digital number solves this problem.
    – Protect your identity. Using a online mobile number separates business from personal contacts.
    – Simple and quick. Getting messages via web takes only a few minutes.

    How online SMS receiving works in the Philippines

    1. Pick a website providing virtual Philippine numbers.
    2. Create an account or login on the selected platform.
    3. Pick a local virtual number from the available list.
    4. Input the virtual number for your required website or app.
    5. Look for your text message – the message appears in your account.

    Where can you use Philippine virtual numbers for SMS

    Digital Filipino phone lines are commonly employed when:
    – Creating accounts on online platforms (like Facebook, WhatsApp, Telegram)
    – Accessing financial services
    – Marketing campaigns or testing

  17. Timothygok dice:

    Receive SMS messages to a virtual number

    In the digital age, lots of individuals wish to obtain confirmation codes over the web. Virtual numbers help you receive messages without using your personal phone.

    What is a virtual number for SMS?

    A virtual number is a mobile phone number that is not linked to a physical SIM card. Anyone can utilize it to get verification messages from different internet services for things like online registration.

    Benefits of receiving SMS to a virtual phone line

    – Privacy protection. Using a virtual number keeps your real phone private.
    – Overcome country restrictions. Some online resources require a non-local phone number, and a web number solves this problem.
    – No waiting times. Getting SMS online requires no delays.

    How to use a virtual number to receive SMS messages?

    1. Pick a reliable service for virtual numbers.
    2. Sign up or enter your details for access.
    3. Pick a virtual number from the list.
    4. Use the selected phone to sign up or verify.
    5. Look for the incoming code.
    6. Read your message in your account.

    Where can you use virtual numbers for SMS?

    [url=https://onlinesim.io/fr]telephone number[/url] are popular for:
    – Creating accounts on web sites and services
    – Receiving security confirmation codes
    – One-time registrations or anonymous surveys

    Trusted sites for using web-based phone numbers

  18. protects men of this sort,銈ㄣ儹 銇?涓嬬潃whereas the latter would work their speedy annihilation.

  19. Great goods from you, man. I’ve understand your stuff previous to and you’re just too excellent.
    I actually like what you have acquired here, really like what you’re stating
    and the way in which you say it. You make it enjoyable and you still take care
    of to keep it smart. I can’t wait to read much more from you.

    This is really a great website.

  20. confidential Secretary to King William,during thewhole of his reign; afterwards Principal of the University ofEdinburgh,エッチ な 下着

  21. The annual amount of the expenses about _l_6,エッチ な 下着600.

  22. setor123 dice:

    Because the admin of this web site is working, no doubt very soon it will be famous, due to its quality contents.

  23. 銆€鐒躲仐娴佺煶銇伈銇犮亼銇惤銇°仱銇嬨仜銇︺€併€屼箙娲ヨ吉瀹躲仌銈撱仹銇欍亱.槌ユ浮鎭愩倢鍏ャ倞銇俱仚銇岀€ㄥ窛銇曘倱銈掗浕瑭卞彛銇俱仹鈥︹€︽鏂广€娿亾銇°倝銆嬨仹銇欍亱銆併伅銇勩€佹鏂广伅銆併亗銇€佺€ㄥ窛銇畢銇с仚銇?銈炽偣銉椼儸 銈ㄣ儍銉?/a>

  24. toto slot dice:

    I wanted to thank you for this wonderful read!!
    I definitely enjoyed every little bit of it. I’ve got you book-marked to check out new things you post…

  25. I was suggested this website by my cousin. I’m not sure whether
    this post is written by him as no one else know such detailed
    about my problem. You are incredible! Thanks!

  26. Magnificent goods from you, man. I have understand
    your stuff previous to and you’re just extremely magnificent.

    I really like what you have acquired here, certainly like what you’re saying
    and the way in which you say it. You make it enjoyable and you still care for to keep it wise.
    I can not wait to read much more from you. This is actually a great website.

Responder a tlmnmwk Cancelar respuesta