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: 21,491

  1. RobertCal dice:

    Outsourcing of accounting services is the transfer of your accounting [url=https://progorodnn.ru/kak-vosstanovit-bukhgalterskiy-uchet-bez-poter-prakticheskoye-rukovodstvo-dlya-biznesa]https://progorodnn.ru/kak-vosstanovit-bukhgalterskiy-uchet-bez-poter-prakticheskoye-rukovodstvo-dlya-biznesa[/url]

  2. I really like what you guys are usually up too. This type of clever
    work and coverage! Keep up the terrific works guys I’ve
    added you guys to blogroll.

  3. bloxorz.pro dice:

    Interesting blog! Is your theme custom made or did you download it from somewhere?
    A theme like yours with a few simple adjustements would really make my blog stand
    out. Please let me know where you got your theme.
    Kudos

  4. Oh my goodness! Amazing article dude! Thank you, However I am having troubles with your RSS.
    I don’t understand the reason why I cannot join it.
    Is there anybody else having the same RSS issues?
    Anyone that knows the answer will you kindly respond? Thanks!!

  5. No matter if some one searches for his essential thing, thus
    he/she needs to be available that in detail, thus that
    thing is maintained over here.

  6. kuronime dice:

    When I originally cօmmented I clicked the “Notify me when new comments are added”
    checkbox and now еach timе a comment is addred I get three e-mails with the same comment.
    Is there any way you can remove peoplе from that service?

    Ƭhank you!

  7. toto togel dice:

    Thanks for the auspicious writeup. It in reality was once
    a entertainment account it. Glance complicated to far brought
    agreeable from you! By the way, how could we keep up a correspondence?

  8. I used to be recommended this blog through my cousin. I’m now
    not positive whether this publish is written via him as nobody else recognize
    such detailed about my trouble. You are amazing!
    Thank you!

  9. Outstanding story there. What happened after?
    Good luck!

  10. Kennethpoice dice:

    idk why I’m posting this found this: [url=https://odhopslag.nl]your call[/url] then because clearly I had nothing better to do bonus round [url=https://sterne-ueber-muenster.de]click if you dare[/url] now I’m 6 links deep

  11. This post will assist the internet visitors for setting up new
    website or even a blog from start to end.

  12. My relatives every time say that I am wasting my time
    here at net, but I know I am getting experience everyday by
    reading thes good articles or reviews.

  13. Heya outstanding website! Does running a blog such as
    this require a great deal of work? I have virtually no knowledge
    of coding but I was hoping to start my own blog soon. Anyhow, should you
    have any ideas or tips for new blog owners please share.
    I know this is off topic nevertheless I simply had to ask.

    Appreciate it!

  14. Hmm it looks like your website ate my first comment (it was super long) so I guess I’ll just sum it up what I wrote and say, I’m thoroughly enjoying your blog.

    I as well am an aspiring blog blogger but I’m still new to the whole thing.
    Do you have any recommendations for beginner blog writers?

    I’d really appreciate it.

  15. I am curious to find out what blog platform you’re using?
    I’m experiencing some minor security problems with my latest blog
    and I’d like to find something more secure. Do you have any suggestions?

  16. Spot on with this write-up, I actually believe that
    this web site needs far more attention. I’ll probably be returning to read through more, thanks for the information!

  17. If some one desires to be updated with newest technologies
    therefore he must be pay a visit this web site and be up to date every day.

  18. I enjoy what you guys tend to be up too. This kind of clever work and
    coverage! Keep up the great works guys I’ve added you guys to blogroll.

  19. situs toto dice:

    We’re a group of volunteers and opening a new scheme in our
    community. Your web site provided us with valuable info to work on.
    You’ve done a formidable job and our whole community will be thankful to you.

  20. You are so awesome! I do not suppose I’ve truly read a single thing
    like this before. So wonderful to discover someone with original
    thoughts on this topic. Really.. thank you for starting this up.
    This site is one thing that is required on the internet,
    someone with some originality!

  21. We’re a group of volunteers and starting a new scheme in our community.
    Your website provided us with valuable info to
    work on. You have done a formidable job and our entire community will be grateful to you.

  22. Quality content is the secret to attract the viewers to pay a quick visit the website, that’s what
    this site is providing.

  23. Hello There. I found your blog the usage of msn. This is a very well written article.
    I will be sure to bookmark it and come back to read extra of your useful info.
    Thank you for the post. I’ll definitely return.

  24. Slot klasik dice:

    Hi Dear, are you truly visiting this site daily, if so then you will definitely obtain good experience.

  25. BitIQ App dice:

    Sweet blog! I found it while browsing on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News? I’ve been trying
    for a while but I never seem to get there! Appreciate it

  26. Thank you for every other great post. Where
    else could anybody get that kind of info in such an ideal approach of writing?
    I’ve a presentation subsequent week, and I am at the look for such info.

  27. Somebody necessarily assist to make critically articles I
    would state. This is the first time I frequented your website page and thus far?
    I amazed with the analysis you made to create this actual publish amazing.

    Great activity!

  28. Really appreciated this in-depth review of Breathe—it’s hard to find clear
    info without all the marketing fluff. As someone who deals with seasonal allergies and occasional shortness of breath,
    this actually sounds like something worth trying.

  29. Azorilix dice:

    I always spent my half an hour to read this weblog’s articles
    or reviews every day along with a mug of coffee.

  30. Thanks designed for sharing such a pleasant thought, paragraph is nice, thats why
    i have read it entirely

  31. I was wondering if you ever considered changing the page layout of your site?

    Its very well written; I love what youve got to say.

    But maybe you could a little more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having one or 2 images.
    Maybe you could space it out better?

  32. Artikel ini benar-benar informatif, terutama tentang bola88, yang belakangan ini jadi topik hangat.
    Saya juga pengguna platform bola88 dan bisa mengatakan ini adalah solusi ekonomi kreatif saat ini.
    Terima kasih untuk informasinya

  33. Kennethpoice dice:

    someone might care? clicked something and got this: [url=https://top10internetmarketing.de]lol idk[/url] then because clearly I had nothing better to do and then this happened [url=https://rejoinder.de]just take it[/url] now I’m 6 links deep

  34. Percy 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

  35. Wow, wonderful blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your web site is
    excellent, as well as the content!

  36. data macau dice:

    Everything is very open with a very clear clarification of the issues.
    It was really informative. Your site is very helpful.
    Thanks for sharing!

  37. togel 4d dice:

    Pretty component to content. I simply stumbled upon your weblog and in accession capital to claim that I get actually enjoyed account your weblog posts.
    Anyway I will be subscribing on your feeds and even I fulfillment you get
    admission to persistently fast.

  38. I am really glad to glance at this weblog posts which contains lots of helpful information, thanks for providing
    these kinds of statistics.

  39. Briancax dice:

    Undoubtedly, one of the most significant benefits of outsourcing accounting [url=https://1777.ru/stavropol/kto-neset-otvetstvennost-za]https://1777.ru/stavropol/kto-neset-otvetstvennost-za[/url]

  40. webpage dice:

    Thanks for sharing your thoughts about EverClear pool repair near me.
    Regards

  41. Hello just wanted to give you a quick heads up.
    The text in your content seem to be running off the screen in Chrome.
    I’m not sure if this is a formatting issue or
    something to do with browser compatibility but I figured I’d post to let you know.

    The layout look great though! Hope you get the issue solved soon. Thanks

  42. site dice:

    Hey There. I found your blog using msn. This is a really well written article.
    I will make sure to bookmark it and return to read more of your useful info.
    Thanks for the post. I will certainly return.

  43. Anthonybairl dice:

    Наша цель — поддерживать здоровье женщин и помогать им в решении любых медицинских вопросов [url=https://imho24.info/reviews/43889/]https://imho24.info/reviews/43889/[/url]

  44. Thank you for the auspicious writeup. Ӏt іn fact wаs a
    amusement account іt. Look advanced to farr addsd agreeable fгom y᧐u!
    Bʏ the way, hοѡ can we communicate?

  45. lvoutlet dice:

    I have learn several just right stuff here.
    Definitely price bookmarking for revisiting. I wonder how so much effort you put to
    make this kind of fantastic informative web site.

  46. Wow, marvelous weblog layout! How lengthy have you ever been running a
    blog for? you make blogging glance easy. The full look of your site is
    wonderful, as neatly as the content material!

  47. whoah this weblog is wonderful i love reading your posts. Stay up the
    good work! You realize, lots of individuals are looking round for this information, you can help them greatly.

  48. Interesting blog! Is your theme custom made or did you download it from
    somewhere? A theme like yours with a few simple tweeks would really make
    my blog stand out. Please let me know where you got your design. With
    thanks

Responder a ThomasOvamp Cancelar respuesta