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: 15,050

  1. The clarity in this article is exceptional.

  2. bwfwhhwp dice:

    It doesn’t seem fair folks don’t have cheap drugs available to them for purchase and that they may be burdened with spending the rest of their life worrying about something which could affect their survival like this. ” A good response to this isn’t “I’m trying to find a job. Make certain you take time to ask about a less expensive version in order that they will check the list.
    http://lsdsng.com/node/4157

  3. I absolutely liked the way this was written.

  4. 裸聊 dice:

    It’s a pity you don’t have a donate button! I’d most certainly donate to
    this outstanding blog! I suppose for now i’ll settle for book-marking and
    adding your RSS feed to my Google account. I
    look forward to brand new updates and will talk
    about this site with my Facebook group. Chat soon!

  5. Toccara 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

  6. Thanks for sharing. It’s a solid effort.

  7. mznbvjf dice:

    1 teaspoon grated fresh ginger, or 1-2 lumps of preserved ginger, chopped. As a tiny entrepreneur, when is it time to raise prices like Netflix. The respiratory therapist’s tasks include supplying the precise measurements of oxygen or other types of gas concentrations within the patient’s blood as well as measuring blood alkalinity or acidity levels.
    https://www.drupalcamp.cr/en/sessions/vpxl-shop-online

  8. More content pieces like this would make the blogosphere richer.

  9. ehnlcaq dice:

    Pharmacy technicians also do not provide advice to patients about medication options, side effects, or another drug information. Ask the managers from the places where you enjoy shopping if they provide these types of programs, if you aren’t already frequenting CVS and Winn-Dixie. com or call 877 636 Rx – Rx – About The Founders – Sandy A Reese Rigg, RN, Rph – Susan Chin Jackson, RPh – Both graduated from St.
    http://www.sprawdzonynocleg.pl/katalog/zithromax-obtain-online

  10. bizfina.org dice:

    Do you have a spam problem on this site; I also am a blogger, and I was wanting
    to know your situation; we have developed some nice methods and we
    are looking to swap strategies with other folks,
    why not shoot me an email if interested.

  11. George Jones dice:

    I truly appreciated the way this was presented.

  12. I really enjoyed the style this was written.

  13. Heya this is kind of of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML.

    I’m starting a blog soon but have no coding expertise so I wanted to get guidance from someone with experience.
    Any help would be enormously appreciated!

  14. I particularly enjoyed the style this was explained.

  15. Very shortly this website will be famous among all blogging and site-building viewers, due to it’s fastidious articles

    my webpage: game đánh bài ăn tiền

  16. theroxyu dice:

    We were going for the big city to see a doctor, so it made sense. Drugs might be ordered just by entering the pharmacy website and placing an order which has a click with the mouse button. Most drugs need to be stored at exact temperatures, so one from the things pharmacists learn included in pharmaceutical quality training may be the necessary steps to maintain the facilities clean and in compliance with regulations.
    http://xn--80ab2anoq0a.xn--p1ai/art/valtrex-procure-online

  17. ijmarket.com dice:

    کتاب خانه افعی نوشته بی دیون پورت،
    اثری جذاب و پرکشش در ژانر
    فانتزی و تاریخی است که داستان دختر نوجوانی به نام آنی را روایت می کند.

    آنی با ورود به عمارت هکسر و لمس نقوش مارها،
    به شکلی مرموز به گذشته سفر می کند و خود را در یک بیمارستان جذامی قرن یازدهم می یابد.

    این رمان برای گروه سنی نوجوان نگاشته شده و با مضامینی چون
    سفر در زمان، جادو و شجاعت، خواننده را تا پایان با خود همراه می کند.

    خانه افعی (The Serpent House) رمان تخیلی و تاریخی جذابی از
    نویسنده ایرلندی، بی دیون پورت است که با ترجمه روان و شیوا شهره نورصالحی به فارسی منتشر
    شده و توسط نشر پیدایش به دست مخاطبان رسیده است.
    این کتاب نه تنها برای نوجوانان، بلکه
    برای تمامی علاقه مندان به داستان های فانتزی
    و ماجراجویانه، تجربه ای فراموش
    نشدنی رقم می زند. داستان با قلمی قدرتمند و توصیفاتی
    ملموس، خواننده را به عمق ماجراها می کشاند و او را با شخصیت هایی دوست داشتنی و پیچیده آشنا می سازد.
    در آغاز داستان، با آنی، دختری دوازده ساله که پس
    از مرگ مادرش آسیب پذیر و تنها شده،
    آشنا می شویم. او به همراه برادرش تام که …
    https://ijmarket.com/blog/tag/خلاصه-کتاب/

  18. Irwinowemo dice:

    Melbet stands out with its vast sports betting markets [url=https://www.directory5.org/melbet-promo-code_348924.html]https://www.directory5.org/melbet-promo-code_348924.html[/url]

  19. Hi I am so thrilled I found your site, I really found you by mistake, while
    I was browsing on Bing for something else, Nonetheless I am here now and would just like
    to say thanks a lot for a tremendous post and a all round thrilling blog (I also love the theme/design), I don’t have time to browse
    it all at the moment but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to read more,
    Please do keep up the awesome work.

  20. It’s amazing in support of me to have a web site, which
    is beneficial in favor of my experience. thanks admin

  21. brtatuuq dice:

    We were going to the big city to see a doctor, so that it made sense. The local temperature in the medicine producing country is one as well as the other country could be another, as well as the avian temperature is the other. Make sure you take enough time to ask about a less expensive version so they will check the list.
    https://meljay.de/forum/kritik-und-probleme/945-valtrex-secure-online

  22. More articles like this would make the blogosphere more useful.

  23. It’s not my first time to pay a quick visit this site, i am browsing this
    site dailly and take nice data from here all the time.

  24. David Smith dice:

    You’ve undoubtedly researched well.

  25. Arthur Jones dice:

    Thanks for posting. It’s excellent.

  26. Thanks for sharing. It’s well done.

  27. wcrzcu dice:

    If you are disabled according to federal government standards, and receive government disability payments, you then generally can have your student loans discharged. Ask the managers with the places that you enjoy shopping if they provide these forms of programs, should you aren’t already frequenting CVS and Winn-Dixie. The respiratory therapist’s tasks include providing the precise measurements of oxygen or other forms of gas concentrations inside patient’s blood as well as measuring blood alkalinity or acidity levels.
    http://www.gradspot.com/qa/xalatan-purchase-online

  28. James Davies dice:

    I’ll definitely bookmark this page.

  29. Kristeen 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

  30. Hi there, I enjoy reading through your article. I wanted to write a little comment to support you.

  31. This is the kind of post I enjoy reading.

  32. continuously i used to read smaller articles which as well clear their motive, and that is also happening with
    this piece of writing which I am reading here.

  33. Henry Clarke dice:

    More content pieces like this would make the blogosphere richer.

  34. situs toto dice:

    I go to see everyday some web sites and sites to read articles or reviews,
    except this blog gives feature based content.

  35. Alan Jones dice:

    I found new insight from this.

  36. web site dice:

    Good way of describing, and nice paragraph to take data concerning my presentation topic,
    which i am going to convey in college.

  37. tocototo dice:

    Greetings, I do think your site may be having internet browser compatibility problems.
    Whenever I take a look at your website in Safari, it looks fine however, if opening in I.E.,
    it’s got some overlapping issues. I simply wanted to provide
    you with a quick heads up! Apart from that, fantastic site!

  38. Thomas Wood dice:

    I really liked the way this was written.

  39. Richard Hall dice:

    I took away a great deal from this.

  40. about dice:

    hey there and thank you for your information – I have definitely picked up something
    new from right here. I did however expertise some technical points using this web site,
    since I experienced to reload the site many times previous to I could
    get it to load correctly. I had been wondering if your web hosting is
    OK? Not that I’m complaining, but sluggish loading
    instances times will very frequently affect your placement in google and could damage your high-quality score if advertising and marketing with Adwords.
    Well I’m adding this RSS to my e-mail and could
    look out for a lot more of your respective fascinating content.
    Ensure that you update this again very soon.

  41. Someone essentially lend a hand to make significantly posts I might state.
    This is the very first time I frequented your web page and to this point?
    I surprised with the analysis you made to create this particular publish extraordinary.
    Magnificent process!

  42. web site dice:

    Thank you for sharing your info. I really appreciate your efforts and I am waiting for your
    next write ups thank you once again.

  43. David Mason dice:

    Such a beneficial insight.

  44. zhibucmb dice:

    Most physiologists required a Ph – D degree and licensing. Insurance is confusing in the first place, and yes it is constantly changing. Strong customer service skills can be a must when handling the hectic pace of a pharmacy or pharmaceutical department.
    https://ads.capito.tn/ad/house/finpecia-shop-online

Responder a Daniel Green Cancelar respuesta