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,230

  1. I am in fact pleased to read this webpage posts which
    contains lots of helpful data, thanks for providing these kinds of data.

  2. My partner and I stumbled over here by a different website and thought I should check
    things out. I like what I see so now i’m following you.

    Look forward to going over your web page yet again.

  3. 188bet dice:

    It’s in fact very difficult in this active life to listen news on TV, therefore I just use internet
    for that reason, and get the latest news.

  4. bhhths dice:

    It might be used by fraudsters to gain access to your accounts at numerous financial institutions. When I asked the tech concerning this new action she stated that yes, it is a whole new policy which it is a “law” that most pharmacies must adhere to. The application deadline is at late April, but it is best to apply much sooner.
    Online pharmacy safety tips

  5. Timothygok dice:

    Get text messages on a virtual phone line

    In the digital age, a large number of people need to receive SMS online. Virtual numbers help you receive messages without using your personal phone.

    How virtual phone numbers work for receiving messages?

    A internet phone line is a mobile phone number that is not linked to a physical SIM card. You can use it to get verification messages from various online platforms for things like account sign up.

    Why use a virtual number to receive SMS?

    – Privacy protection. Using a virtual number keeps your real phone private.
    – Access foreign sites easily. Some platforms only accept specific countries’ numbers, and a virtual phone solves this problem.
    – No waiting times. Receiving your message on the web happens instantly.

    How to use a virtual number to receive SMS messages?

    1. Choose a trusted online SMS provider.
    2. Register or log in to the website.
    3. Select your desired internet-based mobile.
    4. Enter the given number on the website or app you want to register at.
    5. Wait for your SMS.
    6. View your received SMS on the platform.

    Top applications for internet-based SMS reception

    [url=https://onlinesim.io/fr]phone number[/url] are commonly used for:
    – Registering on social media or messengers
    – Verifying banking or payment systems
    – Temporary use on dating or classified sites

    Best services for receiving SMS to a virtual number

  6. Wow, incredible blog layout! How long have you been blogging for?

    you make blogging look easy. The overall look of
    your site is great, as well as the content!

  7. Нужен дом? https://stroitelstvo-domov-kazan1.ru — от проекта до отделки. Каркасные, кирпичные, брусовые, из газобетона. Гарантия качества, соблюдение сроков, индивидуальный подход.

  8. zborakul01 dice:

    Hi, its good paragraph about media print, we all know media is a enormous source of information.

    Here is my web blog :: zborakul01

  9. vjsqqgto dice:

    The pharmaceutical industry especially can’t afford to allow its practitioners to delay or refuse treatment of clients due towards the perceived use of any medical device, whether it’s a pill or even a syringe. To find degree programs that train you for a career like a pharmacy technician, you can check out the Directory of Schools website at directoryofschools. There is actually no difference between ordering drugs from your drugstore inside United States than through a Canada pharmacy except to the price.
    Online health products

  10. Нужен дом? https://stroitelstvo-domov-kazan1.ru — от проекта до отделки. Каркасные, кирпичные, брусовые, из газобетона. Гарантия качества, соблюдение сроков, индивидуальный подход.

  11. Additionally, we considered the availability of
    live dealer games and even included some platforms that provide crypto betting options on sports.

  12. spxagyn dice:

    The moon sheds her subtle impact on all with this, adding for the variables. College pre-pharmacy study as little being a day or two which enable it to still pass the exam. However, by exercising with adequate practice pharmacy technician test questions we have better likelihood of being successful.
    Pharmacy site

  13. xqsgxm dice:

    In order to be eligible for a federal loans a Free Application for Federal Student Aid (FAFSA) has to be completed and aid is granted dependant on student need, tuition rates at the college, and also other factors. The very last volume of an certified local pharmacy professional training course takes a one year preparation software along with as soon because completing the actual tutorials you may purchase an associates education. If you will get prescriptions monthly make sure your pharmacy has your most up to date prescription insurance information.
    Sertraline discount pharmacy

  14. Raz Bar dice:

    Please let me know if you’re looking for a article writer
    for your site. You have some really good posts and I believe I would be a good asset.
    If you ever want to take some of the load off, I’d really like to write some
    articles for your blog in exchange for a link back to mine.
    Please shoot me an e-mail if interested. Kudos!

  15. dezain dice:

    It is essential to note that doesn’t every pharmacy technician receives such a low wage which when doing work in private pharmacies, it is probably that one receives a wage of $17 hourly minimum. The last volume of your certified local pharmacy professional training program takes a twelve month preparation software and also as soon as the completing this tutorials you may purchase an associates education. They are also accountable for inspecting the operational control over dispensary and manufacturing units and providing a platform to further improve the pharmacists’ role to prescribe medicine independently.
    Buy cholesterol medication online

  16. Нужен дом? строительство частных домов — от проекта до отделки. Каркасные, кирпичные, брусовые, из газобетона. Гарантия качества, соблюдение сроков, индивидуальный подход.

  17. Нужен дом? строительство частных домов — от проекта до отделки. Каркасные, кирпичные, брусовые, из газобетона. Гарантия качества, соблюдение сроков, индивидуальный подход.

  18. Scottydar dice:

    Прием СМС онлайн на виртуальные номера страны США

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

    Что такое виртуальные номера для СМС

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

    Преимущества применения американских номеров

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

    Принцип действия онлайн приёма сообщений

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

    Сферы, где востребованы онлайн-сервисы смс из США

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

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

    Среди известных площадок можно отметить:
    – Receive-smss
    – Online-sim
    – Virtualphone

    Заключение

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

  19. keo nha cai dice:

    I would like to thank you for the efforts you’ve put in writing
    this website. I really hope to check out the same high-grade content by you
    in the future as well. In truth, your creative writing abilities has
    encouraged me to get my own, personal site now 😉

  20. macau 4d dice:

    Whats up very cool website!! Guy .. Excellent ..
    Wonderful .. I will bookmark your web site and take the feeds additionally?
    I’m happy to seek out so many helpful information here in the post, we’d like develop more strategies on this regard, thank you for sharing.
    . . . . .

  21. It’s actually very complicated in this active
    life to listen news on TV, therefore I only use internet for that reason,
    and take the most up-to-date information.

  22. Hi to every , for the reason that I am in fact keen of reading this web site’s post to
    be updated on a regular basis. It includes nice material.

  23. Very good post. I will be experiencing a few of these issues as well..

  24. ce sont de telles ames qui feront l’?uvre du C?ur deJésus,qui convertiront le Maroc,ダッチワイフ

  25. Yo cobrí de luto e xergas en este dia quasila mayor parte de la ciudadana caualleria; yo dexé muchos siruientesdescubiertos de se?or; yo quité muchas raciones e limosnas a pobres eenuergon?antes; yo fuy ocasion en que los muertos toviessen compa?iadel más acabado hombre que en gracias nascio; yo quité a los biuos eldechado de gentileza,ラブドール エロde inuenciones galanas,

  26. Do you need reliable j&j junk removal services ? call us today.

  27. en ces moments,ラブドールpour me baigner danscette joie,

  28. hennonpuoleisen.ラブドール オナニーSanders tutkih?nt? villaisesta p??st? hoikkien s??rien p??ss? oleviin isoihinjalkoihin asti.

Responder a adalt-95 Cancelar respuesta