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: 28,091

  1. Prostavive dice:

    Prostavive sounds like a really thoughtful supplement for men’s health!

    I like that it’s focused on supporting prostate function and urinary comfort, which are so important as men age.
    A natural approach like this could make a big difference in daily
    well-being and long-term confidence.

  2. Piece of writing writing is also a excitement,
    if you be acquainted with then you can write if not it is complicated
    to write.

  3. мостбет оригинал скачать [url=https://mostbet11075.ru/]мостбет оригинал скачать[/url]

  4. PeterCalse dice:

    what does a cialis pill look like: pastillas cialis – Tadalify

  5. 아고다 어플 할인코드란? 아고다 어플 할인코드는 아고다
    앱(APP)에서만 사용 가능한 전용 할인코드이며, 예약 금액에 따라 최대 8%까지
    할인 혜택을 받을수 있습니다.

  6. Hello excellent blog! Does running a blog similar to this require a large amount of work?
    I’ve no understanding of programming but I was hoping to start my own blog in the near future.
    Anyway, should you have any recommendations or techniques for new blog owners please
    share. I understand this is off topic nevertheless
    I just wanted to ask. Kudos!

  7. ElijahCah dice:

    SildenaPeak: 20 mg viagra daily – SildenaPeak

  8. RobertBat dice:

    Sildenafil oral jelly fast absorption effect [url=http://kamameds.com/#]Online sources for Kamagra in the United States[/url] KamaMeds

  9. mostbet_mcen dice:

    мостбет войти в личный кабинет [url=https://mostbet11067.ru/]мостбет войти в личный кабинет[/url]

  10. Diplomi_hmSa dice:

    купить диплом вуза с реестром [url=http://www.arus-diplom35.ru]купить диплом вуза с реестром[/url] .

  11. Whoa! This blog looks just like my old one! It’s on a entirely different
    topic but it has pretty much the same layout and design.
    Superb choice of colors!

  12. RichardSof dice:

    viagra 100mg online canada: SildenaPeak – where can i buy viagra online uk

  13. Hi everyone, I wished to bring up the topic of the Color analysis test, which I have been fascinated by for a long time.
    This intriguing method helps people discover the colors that best match their natural appearance,
    improving both personal style and confidence. I decided to raise
    this question here to explore how others view and apply color analysis in their everyday lives.

    One of the most fascinating aspects of the Color
    analysis test is its focus on determining a person’s seasonal color palette,
    classified into types like Spring, Summer, Autumn, and Winter.
    These classifications are based on minor differences in skin tone, eye color, and hair shade, which can dramatically impact how certain colors look on you.
    Many people don’t understand that wearing the [b]correct
    colors[/b] can illuminate their complexion and create a
    balanced balance, while wrong colors might detract
    from their natural beauty. I’ve also observed that
    some frequent misconceptions spread about this test, such as believing it limits fashion choices, when in fact it [b]expands stylistic possibilities[/b].

    To conclude, the Color analysis test provides valuable guidance
    for enhancing personal appearance through thoughtful color selection.
    I would love to hear your thoughts: what has been your encounter with color analysis?
    Do you find it practical or too complicated? Share your
    stories and let’s discuss how color influences our daily style.

    https://graph.org/Color-analysis-test-08-15

  14. инъектирование [url=www.remontmechty.ru/remont/inekcionnaya-gidroizolyaciya-effektivnaya-zashhita-ot-vlagi /]www.remontmechty.ru/remont/inekcionnaya-gidroizolyaciya-effektivnaya-zashhita-ot-vlagi /[/url] .

  15. Diplomi_fpEn dice:

    купить аттестат за 11 класс в москве [url=arus-diplom22.ru]купить аттестат за 11 класс в москве[/url] .

  16. Diplomi_mamr dice:

    бугуруслан купить аттестат 10 и 11 класс [url=http://arus-diplom23.ru/]бугуруслан купить аттестат 10 и 11 класс[/url] .

  17. mostbet_tvKt dice:

    mostbet официальный сайт вход [url=http://mostbet11070.ru]http://mostbet11070.ru[/url]

  18. Riva dice:

    RepairCdDvD is professional information recuperation software program specializing in repairing and improving statistics from damaged or scratched CD and DVD discs. Here are a few key points approximately RepairCdDvD: Features: Information restoration: RepairCdDvD lets in you to recover records from unreadable CD and DVD discs. Record gadget support: this system works with various document structures, such as UDF (usually used for storing information on DVDs). Photo advent: RepairCdDvD reads information from damaged discs and creates an picture report that may be used for statistics restoration. Coping with photo Discs: even if the disc is a extracted, RepairCdDvD can recover information. Other Media support: the program also can get better data from CD/DVD disks. Conversion to ISO format: It allows growing virtual disc copies (ISO pics) for less difficult recuperation inside the destiny. Transportable model: RepairCdDvD is to be had as a transportable version, allowing you to apply it on one of a kind computers without installation. Velocity and convenience: RepairCdDvD offers an intuitive interface and powerful algorithms, making it clean to experiment and get better statistics with out useless complications. In case you need to get better records from CD and DVD discs, RepairCdDvD is a useful device. Its support for various document structures and photograph introduction skills makes it a effective solution for records restoration. No accrued value in case you need more than one kind media or report machine supported. RepairCdDvD is a quite specialized yet smooth to use media facts recuperation device. It supports all disc codecs and all common document structures. Insert a disc, begin up RepairCdDvD and pick the pressure or media (if no longer selected already) and let RepairCdDvD mount the media. RepairCdDvD immediately shows you all the walls or tracks and sessions located on the media, mixed with all report structures which might be gift. This way you get clean access, similar to explorer, to all the files and folders per report device. As opposed to being constrained to one document system that the OS choices for you, you’ve got get admission to. Get entry to records from older periods or hidden partitions, get right of entry to information that your OS (e.G. Home windows) does now not see or hides from you etc. Integrate this all-revealing functionality with some distance higher examine and healing mechanisms, scanning for lost files functionality, workarounds for a wide variety of power and software bugs, boundaries or shortcomings and you’ve got an exceedingly powerful data restoration tool. RepairCdDvD is should-have-software for every pc user and is intentionally stored low-priced a good way to provide a solution for each person.Shape of the medium, facts recording Micrograph of recesses and fields Diagram of a go-phase of a pressed plate A trendy compact disc, often known as an audio CD, stores the digital audio record in a “crimson ebook” preferred to differentiate it from later variations. Compact discs are product of a 1.2 mm thick polycarbonate plate with a diameter of 12 cm, protected with a skinny layer of aluminum (aluminum), wherein information is contained (inside the form of a mixture of micro-grooves and places with out them). They are examine with a semiconductor laser (AlGaAs) with a wavelength of about 780 nm. The recording creates a spiral course from the center to the edge of the document.The rotational speed of the plate is numerous such that the linear velocity of the read head with admire to the song is constant and for the studying pace x1 it’s miles in the range of 1.2 to 1.Four ms. The disc is study from the center to the out of doors, and the rotational speed decreases as you move away from the center of the disc.Before writing to disk, facts is encoded inside the “8 in 14” widespread and stored in the form of land and pits. Inside the embossed plates, the recesses are 1/four wavelength deep within the cloth of the analyzing laser plate (about a hundred twenty five nm), as a result of the interference of light meditated from the environment and the recesses, the wave is extinguished. The pits are 500 nm extensive and the track spacing is 1.6 mm. The variations in light reflection are utilized by the lens servo to manual the beam along the route and focus it.The “8 in 14” coding machine guarantees that the smallest pit and land length is three bits (833 nm) and the longest 11 bits (3560 nm) WebSite: https://repaircddvd.com

  19. Diplomi_waOt dice:

    купить аттестат 11 класс кемерово [url=www.arus-diplom25.ru]купить аттестат 11 класс кемерово[/url] .

  20. новости спорта [url=https://novosti-sporta-11.ru]новости спорта[/url] .

  21. ngentod dice:

    I don’t even know how I ended up right here, however I
    assumed this post used to be great. I do not understand who you are
    but certainly you’re going to a famous blogger should you are not
    already. Cheers!

  22. I believe what you wrote made a great deal of sense.
    However, what about this? suppose you composed a catchier title?
    I ain’t suggesting your information isn’t good, however what if you added a post
    title that makes people want more? I mean Infraestructura
    como código – Politraining is a little boring.

    You ought to glance at Yahoo’s home page and note how they write
    news headlines to grab people to click. You might add
    a related video or a pic or two to get people interested about what
    you’ve written. In my opinion, it would make your website
    a little livelier.

  23. I do not know if it’s just me or if perhaps everybody else encountering issues with your blog.
    It appears like some of the written text on your content are running off the
    screen. Can someone else please provide feedback
    and let me know if this is happening to them as well?
    This might be a problem with my web browser because I’ve had this happen before.
    Kudos

  24. евродизайн новосибирск [url=https://evropejskaya-santehnika2.ru/]евродизайн новосибирск[/url] .

  25. gessi официальный сайт [url=https://gessi-santehnika-5.ru]gessi официальный сайт[/url] .

  26. I like it when individuals get together and share thoughts.

    Great blog, stick with it!

  27. ElijahCah dice:

    Affordable sildenafil citrate tablets for men: ED treatment without doctor visits – KamaMeds

  28. I’ve learn a few excellent stuff here. Definitely price bookmarking for revisiting.
    I wonder how so much attempt you put to make this kind of wonderful informative site.

  29. thanbai88 dice:

    I simply could not leave your website before suggesting that I actually enjoyed the usual information a person provide to your visitors?
    Is gonna be back ceaselessly in order to check
    out new posts

  30. прогнозы на хоккей от экспертов [url=http://luchshie-prognozy-na-khokkej13.ru/]http://luchshie-prognozy-na-khokkej13.ru/[/url] .

  31. Hi, after reading this amazing piece of writing
    i am also happy to share my knowledge here with
    mates.

  32. провайдеры домашнего интернета челябинск
    chelyabinsk-domashnij-internet006.ru
    интернет провайдер челябинск

  33. SonnyAcund dice:

    FezBet is a up-to-date online casino that delivers a wide selection of titles and features for customers around the world. This article looks at what distinguishes FezBet be notable, covering game portfolio, promotions, security, payments, and help.

    Game selection

    FezBet features a substantial catalog of entertainments including reels, table games such as 21, roulette variants, and card poker. Live dealer rooms are accessible for those who like a more authentic live experience. The service partners with many top providers to provide quality graphics and fluid gameplay.

    Bonuses and promotions

    New players can find welcome rewards while regular players may enjoy of daily specials, refunds, and loyalty schemes. Always check the rules for playthrough conditions, minimum stake, and eligibility to know how promotions apply.

    Security and licensing

    Security is a priority for the operator. The platform uses encryption technology to secure personal and banking details. It is recommended to confirm the regulatory status and jurisdiction that oversees the platform to validate legitimate activity. Players should also check the operator’s data protection policy for information.

    Payment methods

    The casino offers a range of payment options, including card payments, digital wallets, and direct transfers. Processing periods and commissions can change by method and country, so users should review the banking page for the latest details [url=https://oeclub.org/index.php?title=https://fezbett.com/]https://oeclub.org/index.php?title=https://fezbett.com/[/url]

    Customer support

    Responsive helpdesk is essential. The platform usually maintains all-day assistance via instant chat, electronic mail, and detailed help center areas. Response times and assistance level can fluctuate, so test the support if you have queries.

    Responsible gambling

    Responsible play is essential. The site can provide features such as budget caps, cool-off measures, and time reminders to assist users monitor their play. If you believe that play is turning into a problem, seek assistance from national organizations or reach out to the operator’s customer service.

    Conclusion

    FezBet is a versatile web casino with a solid library, competitive offers, and several transaction methods. Make sure to bet responsibly, confirm legal and safety credentials, and check the terms and conditions before registering.

  34. Diplomi_czPa dice:

    купить диплом с занесением в реестр в архангельске [url=https://www.arus-diplom31.ru]купить диплом с занесением в реестр в архангельске[/url] .

  35. Помощь наркологов все более важна в преодолении зависимостей. На сайте vivod-iz-zapoya-tula009.ru можно найти информация о лечении зависимостей, включая индивидуальные подходы. Квалифицированные специалисты поддерживают в определении уровня зависимости и рекомендуют медицинскую помощь при алкогольной зависимости и наркомании. Обращение к наркологу — ключевой этап к восстановлению после алкогольной или наркотической зависимости. Важны профилактика рецидивов и семейная терапия для поддержки в процессе реабилитации. Поддержка со стороны близких и специалистов помогает достичь успеха на пути к новому образу жизни.

Responder a lychshie prognozi na hokkei_qpMr Cancelar respuesta