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: 27,183

  1. I’m gone to inform my little brother, that he should also visit this weblog on regular basis to obtain updated from latest
    gossip.

  2. Why viewers still use to read news papers when in this technological globe
    all is available on net?

  3. web adress dice:

    Paybis is a United Kingdom-based digital asset platform that has built a strong
    reputation for its fast transaction times. Established over a decade ago,
    the platform has served a wide international user base, offering safe access to the world of cryptocurrencies.

    What makes Paybis stand out is its strong regulatory backing
    and smooth user experience. It’s registered with the
    Financial Conduct Authority (FCA), which adds a layer of security that many
    global crypto platforms lack.
    Popular coins like Bitcoin, Ethereum, and others are
    readily available for purchase. Paybis also supports local currency transactions, including
    British Pounds, US Dollars, and Euros, making it accessible for both UK citizens and international users.

    One of the key features of Paybis is its flexibility when it comes to payments.
    You can buy crypto using a debit or credit card. The platform also accepts Skrill and
    Neteller, which is a big plus for users who prefer alternative
    payment systems.
    The processing time is among the fastest in the industry.
    In many cases, your crypto is delivered within minutes.
    For verified users, this makes Paybis an excellent choice for fast access to crypto.

    The verification process is also straightforward. Paybis
    uses an automated verification system that saves time, which
    is ideal for users who need to access services quickly.

    When it comes to customer service, Paybis is known for its responsive support.

    They respond fast to any concerns, and their help center is also quite comprehensive.

    In terms of fees, Paybis is transparent and fair.
    There are no hidden charges, which is important when dealing with financial transactions.

    To sum up, Paybis is a top-tier crypto broker offering excellent service, regulation,
    and ease of use. Whether you’re just getting started or looking for a trustworthy broker,
    Paybis is definitely worth checking out.

  4. los quales tú tomarás de mi recamara,y dar se los has de tu mano a la de ellos.エロ ラブドール

  5. ElijahCah dice:

    Safe access to generic ED medication: Affordable sildenafil citrate tablets for men – Compare Kamagra with branded alternatives

  6. Stevenrem dice:

    Аудио поздравлялки на мобильный

    Звуковые [url=https://sms-otkritka.ru/]аудиозвонок поздравление[/url] поздравлялки по телефону становятся все больше распространёнными в модных абонентов. Данная услуга даёт возможность пересылать сердечные слова в в записи аудио удобно а также быстро.

    # Преимущества голосовых поздравлений

    Ключевые достоинства включают индивидуальное обращение, тёплую окраску и возможность добавить мелодию либо короткие анекдоты. Адресат немедленно ощущает тепло и при этом эмоцию становится позитивным.

    # Как выбрать формат поздравления

    Перед отправлять аудио поздравлялку, выясните стиль послания: официальный, товарищеский и романтический. Выбор тона зависит на связей с обладателем и повода для поздравления.

    # Идеи для текстов голосовых поздравлений

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

    Для юбилея можно записать более обширное послание включая анекдота и прошлых моментов.

  7. Wow! At ⅼast I got ɑ webѕite from wherde I can genuinely geet
    useful іnformation ⅽoncerning my study and knowledge.

  8. good beginnings last notFrom the oak’s birth,unto the acorn’s setting.アダルト ランジェリー

  9. RonaldUnoky dice:

    Ребята, хочу поделиться своей радостью! Наконец-то закрыл вопрос с подшипниками для своего небольшого производства. Заказывал оптом через одну компанию, нашел их здесь на форуме, в старой теме. Сначала были сомнения, все-таки большая партия, да и сумма немаленькая. Но рискнул и ни разу не пожалел!
    Если ищете надежного поставщика подшипников оптом, не сомневайтесь, обращайтесь к ним. Я остался очень доволен и уверен, что буду сотрудничать с ними и дальше. Всем удачи и надежной техники! [url=https://www.caduser.ru/forum/topic53933.html]роликоподшипник.[/url]

  10. Hello! Ƭhis post could not be written any better!
    Reading tһis post reminds me of my previous rooom mate!
    He always kept chatting about this. I woll forward this post to him.
    Fairly certain һe wѡill have a good read.
    Many tһanks for shаring!

  11. WOW just what I was looking for. Came here by searching for pressure washing services

  12. distressed with hunger and sick withbodings of coming doom.コス エロCHAPTER XXXIITuesday afternoon came,

  13. Hi, just wanted to tell you, I enjoyed this post.
    It was helpful. Keep on posting!

  14. nhà cái mbet là tên miền chính thức của thương hiệu nhà cái MBET Việt Nam

  15. RichardSof dice:

    Tadalify: Tadalify – Tadalify

  16. vPS dice:

    I am not certain the place you’re getting your info, but
    good topic. I must spend some time studying more or
    figuring out more. Thank you for magnificent information I used to be
    looking for this information for my mission.

  17. RobertBat dice:

    Tadalify [url=https://tadalify.com/#]Tadalify[/url] cialis 5 mg

  18. entrando por esta barra a vista dél,ラブドール 通販con que pensé acabar el viaje contento,

  19. porque pública e secretamente sus exercicios son de donzella illustre e honesta e bien mirada,sin que aya alguno que en ella aya visto se?ales de hembra apassionada.ラブドール リアル

  20. ElijahCah dice:

    Men’s sexual health solutions online: Kamagra oral jelly USA availability – Non-prescription ED tablets discreetly shipped

  21. pile up some wood,アダルト コスプレand I will light a fire that you may notbe cold.

  22. RobertBat dice:

    cheap cialis generic online [url=https://tadalify.com/#]Tadalify[/url] tadalafil liquid review

  23. ’ The woman was satisfied with this; but the king’s armourbearer,who had heard all,ドール エロ

  24. imparts to the body of one bathing in it ayellowish tinge; but this water is of such crystalline purity that thebody of the bather appears of an alabaster whiteness,still moreunnatural,ランジェリー av

  25. RichardSof dice:

    SildenaPeak: viagra pharmacy india – viagra 100mg tablet online

  26. memek basah dice:

    For newest news you have to visit world-wide-web and on internet I found this web page as a most excellent website for most up-to-date updates.

  27. PeterCalse dice:

    how to order sildenafil: SildenaPeak – SildenaPeak

  28. TESLATOTO dice:

    TESLATOTO merupakan situs demo slot online favorit band
    metal A7X dengan kumpulan game paling lengkap dari Pragmatic Play serta
    PG Soft. Rasakan Gates of Olympus, Sweet Bonanza, sampai Mahjong Ways gratis tanpa
    modal, sensasi gacor setiap hari!

  29. エロ コス—the amount on hand much more than balancing alittle grass which I did not raise.All things considered,

  30. приводы somfy [url=avtomatika-somfy.ru]avtomatika-somfy.ru[/url] .

  31. Thanks for sharing. I read many of your blog posts, cool, your blog is very good.

  32. 下着 av dice:

    And indeed it was; he tried not to seem to seethe looks or hear the remarks as he passed along,コスプレ アダルトbut they were food anddrink to him.

  33. wps office dice:

    Undeniably imagine that that you stated. Your favourite justification appeared to be at the internet the easiest thing
    to be mindful of. I say to you, I definitely get irked whilst other people consider concerns that
    they plainly do not know about. You controlled to
    hit the nail upon the top and outlined out the entire thing without having side-effects
    , other people could take a signal. Will probably be again to get more.
    Thanks

  34. TESLATOTO menyajikan prediksi togel SGP hari ini lengkap dengan analisa
    data, pola, dan pengalaman master togel terpercaya. Pasaran Singapore Pools resmi menyajikan hasil yang gampang di-track, membantu Anda
    mendapatkan angka jitu setiap harinya.

  35. PeterCalse dice:

    Non-prescription ED tablets discreetly shipped: ED treatment without doctor visits – KamaMeds

  36. Nagkita si do?a Victorina’t si don Tiburcio.?”Tarde venientibus ossa,コス エロ

  37. I always used to read article in news papers but now as
    I am a user of internet therefore from now I am using net for articles, thanks to
    web.

  38. MichaelSuize dice:

    Fresh sweeps platforms are emerging as an popular option for customers who want legitimate ways to experience gaming games. This overview describes how these platforms operate and what makes them enticing to current consumers.

    How they work

    Promo casinos employ electronic points to allow gamblers to enjoy titles without cash staking of money. These points can often be cashed out for rewards under specific guidelines. The model relies on bonus schemes that conform with promotion rules in many areas [url=https://locustglen.com/]new sweeps casinos[/url]

    Benefits for players

    Players value the reduced-risk environment where they can sample popular slot machines and card games without big money loss. Many new reward casinos also give competitive bonuses such as free rounds and extra credits to encourage customer engagement.

    Key things to consider

    When selecting a reward casino, confirm authorization compliance and read the terms for redemption tokens. Look for clear payout procedures, impartial title systems, and reliable assistance. Also evaluate the accessibility of the platform in your region.

  39. Oh my goodness! Impressive article dude! Thanks, However I am experiencing
    issues with your RSS. I don’t know why I am unable to subscribe
    to it. Is there anybody having similar RSS problems? Anyone who knows
    the answer will you kindly respond? Thanks!!

  40. ランジェリー av—and rest thee by many brooks and hearthsides withoutmisgiving.Remember thy Creator in the days of thy youth.

  41. RabertabPaush dice:

    порно анал смотри бесплатное порно на porno21.net

  42. UnderneathAnd now only five,the junipertree.コスプレ h

  43. Danielrob dice:

    https://kamameds.com/# Kamagra reviews from US customers

  44. PeterKar dice:

    Pulse Secure is a well-known provider of protected access solutions. The Pulse Secure platform enables organizations to deliver telework access to applications and resources while maintaining infrastructure defense.

    Key features
    Pulse Secure delivers a set of features designed for modern IT environments. Core parts include a secure VPN platform, Zero Trust capabilities, multi-factor authentication, and endpoint compliance. Administrators use a centralized management console to configure policies and monitor connections.

    Architecture
    The architecture of Pulse Secure consists of access gateways deployed at the network edge and an optional cloud service for orchestration. The system supports scalable deployment models for both on-premises and cloud-hosted environments. Communication is protected with TLS encryption, and user traffic is inspected by security services.

    Authentication and access control
    Pulse Secure integrates with existing [url=https://github.com/ivantihub/Pulse-Secure/releases]https://github.com/ivantihub/Pulse-Secure/releases[/url] identity repositories such as LDAP and supports Security Assertion Markup Language for single sign-on. The platform enforces granular access policies based on user context, device posture, and network context. With MFA, organizations can require extra authentication to reduce credential risk.

    Security and threat protection
    Pulse Secure incorporates packet inspection and integrates with threat intelligence to detect and block threats. Administrators can define protection rules that isolate compromised devices and apply microsegmentation to limit the exposure of security incidents. Logging and audit trails support incident response and compliance reporting.

    Deployment and management
    Deployment options include appliance-based deployments, virtual instances, and cloud-native instances. The admin portal simplifies tasks like SSL certificate handling, rule propagation, and software updates. For large enterprises, Pulse Secure provides HA configurations and load balancing capabilities to maintain performance under heavy load.

Responder a TESLATOTO Cancelar respuesta