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: 24,063

  1. DT68 com dice:

    Howdy! I could have sworn I’ve been to this blog before but after reading through some of the post I
    realized it’s new to me. Anyhow, I’m definitely happy I found it and I’ll be bookmarking and checking back frequently!

  2. Hi there, I wish for to subscribe for this blog to obtain hottest updates, thus where can i do it please help.

  3. 호빠 dice:

    ‘호빠’는 흔히 **호스트바(Host Bar)**의 줄임말로
    사용됩니다. 이는 남성 접객원이 여성 손님을 응대하는 유흥업소의 한 형태를 의미하며,
    한국에서는 1990년대 후반

  4. Piece of writing writing is also a fun, if you be acquainted with then you can write otherwise
    it is difficult to write.

  5. экстренный вывод из запоя краснодар
    narkolog-krasnodar010.ru
    вывод из запоя круглосуточно

  6. I’m not that much of a online reader to be honest but your blogs really
    nice, keep it up! I’ll go ahead and bookmark your site to come back down the road.
    Many thanks

  7. scam dice:

    You actually make it appear so easy together with your presentation but I find this topic to
    be actually something that I feel I would never understand.
    It kind of feels too complicated and very huge for me. I am having a look ahead for your
    next submit, I will try to get the hang of it!

  8. лечение запоя
    narkolog-krasnodar009.ru
    лечение запоя

  9. рулонная штора электро [url=https://www.rulonnye-shtory-s-elektroprivodom17.ru]https://www.rulonnye-shtory-s-elektroprivodom17.ru[/url] .

  10. I am regular visitor, how are you everybody?

    This post posted at this site is really good.

  11. Appreciate this post. Let me try it out.

  12. My brother suggested I might like this website. He was entirely right.

    This post actually made my day. You cann’t imagine simply how much
    time I had spent for this information! Thanks!

  13. corksucker dice:

    Hurrah, that’s what I was exploring for, what a stuff!
    present here at this blog, thanks admin of this website.

  14. fanny dice:

    Fantastic goods from you, man. I’ve understand your stuff previous
    to and you’re just extremely fantastic. I actually like what you have acquired here, certainly like what you are
    stating and the way in which you say it. You make it enjoyable and you still
    care for to keep it sensible. I can’t wait to read much
    more from you. This is really a great web site.

  15. At this moment I am ready to do my breakfast, afterward having my breakfast coming again to read further news.

  16. miototo dice:

    Thanks for ones marvelous posting! I certainly enjoyed reading it, you may be a great author.

    I will make certain to bookmark your blog and may come back at some point.
    I want to encourage you continue your great writing, have
    a nice morning!

  17. If you are going for finest contents like myself, just visit this
    website daily since it presents quality contents,
    thanks

  18. I savour, lead to I discovered just what I used to
    be taking a look for. You’ve ended my 4 day lengthy hunt!

    God Bless you man. Have a nice day. Bye

  19. miototo dice:

    Yes! Finally someone writes about miototo.

  20. agen toto dice:

    I am regular reader, how are you everybody? This post posted at
    this website is truly pleasant.

  21. You actually make it appear really easy along with your
    presentation however I to find this matter to be actually something which I feel I’d by no means understand.
    It seems too complex and extremely large for me.
    I am having a look forward to your next publish, I will try to get the grasp of it!

  22. Coy 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

  23. v9bet dice:

    Definitely believe that which you said. Your favorite justification seemed to be on the internet the
    simplest thing to be aware of. I say to you, I certainly
    get annoyed while people think about worries that they plainly
    do not know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects , people could take a
    signal. Will probably be back to get more. Thanks

  24. Hi, I think your blog might be having browser compatibility issues.

    When I look at your blog in Firefox, it looks fine but when opening in Internet Explorer, it has some
    overlapping. I just wanted to give you a quick heads up! Other then that, very good blog!

  25. I have learn several just right stuff here. Certainly worth
    bookmarking for revisiting. I surprise how a lot effort you put to make this kind of great informative web site.

  26. kvtoto login dice:

    Hi, I do believe this is an excellent website.
    I stumbledupon it 😉 I will come back once again since i have book-marked it.
    Money and freedom is the best way to change, may you be
    rich and continue to guide other people.

  27. It’s a pity you don’t have a donate button! I’d without a doubt donate to
    this excellent blog! I guess for now i’ll settle
    for book-marking and adding your RSS feed to my Google account.
    I look forward to fresh updates and will share
    this blog with my Facebook group. Talk soon!

  28. internetmix dice:

    БУДЬТЕ В БЕЗОПАСНОСТИ: ЗАЩИТА ДОМАШНЕЙ СЕТИ В Екатеринбурге Надежная защита домашней сети — это необходимость в наше время. Это особенно критично для тех, кто пользуется недорогими интернет-услугами в Екатеринбурге. Мы собрали несколько полезных советов: 1. Настройка маршрутизатора: Измените стандартные логин и пароль на уникальные. Это поможет предотвратить несанкционированный доступ. 2. Шифруйте данные с помощью WPA3 для повышения безопасности Wi-Fi. Это гарантирует высокий уровень защиты ваших данных. 3. Создавайте сильные пароли и обновляйте их периодически для повышения безопасности. Дополнительно, применяйте фаерволы для усиления защиты. 4. Установите качественные антивирусные программы для защиты от вирусов. 5. Мониторинг сети: отслеживайте активность, чтобы выявить потенциальные угрозы. 6. VPN для дома: Рассмотрите использование VPN для защиты личных данных при подключении к интернету. 7. Настройте фильтрацию трафика на вашем маршрутизаторе, чтобы ограничить доступ к ненадежным ресурсам. дешевый интернет Екатеринбург Следуя этим советам, вы сможете значительно повысить безопасность вашей домашней сети в Екатеринбурге.

  29. ラブドール えろdel _Cuento de Cuentos_ de Queved de la _Historia de Historias_ de Diego de Torres,y de las dos _Rondallas_ valenciana y mallorquinade Fr.

  30. Nice blog right here! Additionally your website loads up very fast!
    What host are you the use of? Can I am getting your affiliate link to your
    host? I desire my site loaded up as quickly as yours lol

  31. que parece un compendio del terrible _Diálogo deMercurio y Carón_: ??Cuán muchos se condenan,ラブドール えろy cuán pocos se salvan,

  32. Zarios dice:

    Hey There. I found your blog using msn. That is
    a really neatly written article. I’ll make sure to bookmark it and return to read extra of your helpful info.

    Thank you for the post. I’ll definitely return.

  33. I am truly glad to glance at this blog posts which carries
    lots of valuable data, thanks for providing these kinds of information.

  34. mostrando los enga?os y burlas que están encubiertos enfingidos amigos,malas mujeres y traidores sirvientes_?.ラブドール エロ

  35. ラブドール エロes carácter másrico de matices,es también más lírico,

  36. I am really thankful to the owner of this web site
    who has shared this enormous piece of writing at here.

  37. — sanoi — olen ollut hyvin sairas ja olen viel?kinliian heikko nousemaan.ラブドール オナニーJa minun maatessani t??ll? Akasavan on noussut kapinaan ja h?nen kanssaan koko maakunta.

  38. rolet 303 dice:

    Awesome! Its really remarkable piece of writing, I
    have got much clear idea regarding from this paragraph.

  39. ダッチワイフTitle: Orígenes de la novela – Vol.IIIAuthor: Marcelino Menéndez y PelayoRelease date: July 7,

  40. Hello there, I do believe your blog might be having internet browser
    compatibility problems. Whenever I look at your website in Safari, it looks fine however, when opening
    in I.E., it’s got some overlapping issues. I just wanted to provide you with a quick heads up!
    Other than that, wonderful blog!

  41. Your blog has quickly become one of my favorites I always look forward to your new posts and the insights they offer

  42. Danica Tate dice:

    Your blog has become my go-to source for inspiration and motivation I am so grateful for the valuable content you provide

  43. Asking questions are actually pleasant thing if you are not understanding
    something totally, however this article presents good
    understanding yet.

  44. ラブドール エロAntes era la virgen tímida y enamorada que cede á la brutalsorpresa de los sentidos; después la mujer ebria de amor y enajenadade su albedrío.La _madre_ muy ducha en la materia,

  45. เว็บบาคาร่าที่ดีที่สุดในปี 2025 เป็นเว็บที่ให้บริการบาคาร่าแบบครบวงจร
    มีทั้งระบบทดลองเล่นและโปรโมชั่นแรง
    ลองดูได้เลยครับ

  46. a remarkable woman.Edith was seized with an almost overwhelming temptation to ask why.ラブドール sex

  47. m98 bet dice:

    This text is worth everyone’s attention. Where can I find
    out more?

  48. Hi there i am kavin, its my first occasion to commenting
    anywhere, when i read this paragraph i thought i could also create comment due
    to this sensible paragraph.

Responder a situs toto online Cancelar respuesta