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: 17,537

  1. Aw, this was an incredibly good post. Spending some time and actual effort to produce a really
    good article… but what can I say… I procrastinate a lot and don’t
    seem to get nearly anything done.

  2. xnfhehv dice:

    There are two ways being a pharmacist technician, getting certified or registered by your state. These are the pharmacist who works being a professor or lecture in a medical college; they spend around 50 per cent of these time inside other areas of pharmacy. There is basically no difference between ordering drugs coming from a drugstore inside United States than via a Canada pharmacy except for that price.

  3. Wow that was unusual. I just wrote an extremely long comment but after I clicked submit my comment
    didn’t appear. Grrrr… well I’m not writing all that over again. Regardless, just
    wanted to say superb blog!

  4. tfimdt dice:

    Most patients were paying a high income for their insurance and were often upset when their prescriptions required a $50 co-pay, or that they not met their $4,000 deductable and must give the entire cost out-of-pocket. As a little entrepreneur, when is it time to raise prices like Netflix. Instead, I simply copied the web link and pasted it into my browser window, and developed exactly what I knew I would- another “Canadian Pharmacy” web site.

  5. It’s going to be finish of mine day, except before ending I am reading this great piece
    of writing to increase my knowledge.

  6. Hi there! Would you mind if I share your blog with my twitter group?
    There’s a lot of people that I think would really appreciate your content.
    Please let me know. Many thanks

  7. Hi there to every one, the contents present at this website are
    really remarkable for people experience, well, keep
    up the nice work fellows.

  8. vfwmazw dice:

    In order to be eligible for federal loans a Free Application for Federal Student Aid (FAFSA) must be completed and aid is granted based upon student need, tuition rates with the college, as well as other factors. Fear not, with time you will know just how to handle different varieties of problems that comes about. You should find these records somewhere inside “Contact Us” section of the website.

  9. slot spam dice:

    Slotnya cocok buat support.

  10. whoah this weblog is fantastic i love reading your posts. Keep up the
    great work! You realize, lots of individuals are hunting around for
    this information, you could help them greatly.

  11. djsmlxyd dice:

    Location and the form of employer would be the final factors in determining the amount pharmacists make. When I asked the tech about it new action she stated that yes, it is a fresh policy understanding that it is a “law” that every pharmacies must adhere to. If you will get prescriptions on a monthly basis make sure your pharmacy has your most up-to-date prescription insurance information.

  12. sleeper sofa dice:

    Excellent post! We will be linking to this great article on our
    site. Keep up the great writing.

  13. At this time I am going away to do my breakfast, when having
    my breakfast coming yet again to read more news.

  14. After looking at a number of the blog posts on your web site,
    I honestly appreciate your way of blogging.

    I book marked it to my bookmark website list and will be checking back in the near future.
    Please check out my website as well and let me know how you feel.

  15. CharleyFlery dice:

    Fifty Shades of Grey (2015 ) is based on the best-selling novel of the same name by Erica Leonard James [url=https://www.vdsv.ru/]50 оттенков серого смотреть онлайн[/url]

  16. Felicia dice:

    Divers indices devront être collectés tout au long de la
    chasse au trésor, par exemple, il peut être demandé de descendre et de chercher une
    tombe gravée d’un bouclier.

  17. It’s impressive that you are getting ideas from this article as well as from our dialogue
    made at this place.

  18. Everyone loves what you guys are up too. Such clever work and coverage!
    Keep up the good works guys I’ve you guys to my personal blogroll.

  19. il en ajoutait une autre,et commen?aitchacune des vingt et une le?ons de catéchisme par cette formule: ?_MonDieu,ラブドール

  20. que no le falta,salvo tener el mar á torno; la segunda,ラブドール えろ

  21. Thanks for any other fantastic post. The place else could anyone get that kind of info in such a perfect means of writing?

    I have a presentation subsequent week, and I’m at the look for such information.

  22. sxzybje dice:

    There are two ways to get a pharmacist technician, getting certified or registered by your state. These would be the pharmacist who works as being a professor or lecture in any medical college; they spend around 50 per cent with their time within the other areas of pharmacy. So as being a buyer, you may need to identify an authentic online pharmacy that is certainly licensed and sells only Food and Drug Administration (FDA) approved medicines.

  23. Omaper?ist? hoitoa ja voimakkaita alkuasukasl??kkeit? k?ytettiin,janiin p??llikk? ei kuollut.ラブドール オナニー

  24. ダッチワイフor computer codes that damage orcannot be read by your equipment.LIMITED WARRANTY,

  25. It’s the best time to make some plans for the future
    and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or tips.
    Perhaps you could write next articles referring to this article.
    I want to read more things about it!

  26. I think this is among the most important information for me.
    And i’m glad reading your article. But wanna remark on some general things, The
    website style is wonderful, the articles is really nice : D.
    Good job, cheers

  27. click here dice:

    3. Water-Saving Fixtures
    With water scarcity a concern in many Indian cities, commercial bathrooms should be fitted with
    low-flow taps, sensor-based urinals, and dual-flush cisterns.
    These reduce water usage while
    ensuring efficient operation.
    4. Touchless Technology
    Post-pandemic, touch-free fittings are becoming the new normal in Indian commercial
    bathrooms.
    These include:
     Sensor-based faucets and flush systems
     Automatic soap dispensers and hand dryers
     Motion-sensor lighting
    Brands like Jaquar, Hindware, and Kohler India offer a wide range of sensor-based commercial
    bathroom fixtures that are both modern and reliable.

  28. Since the admin of this website is working, no doubt very quickly it
    will be famous, due to its quality contents.

  29. Excellent goods from you, man. I have understand your stuff previous to and you are just too great.
    I actually like what you’ve acquired here, really like what you are saying and the way in which you
    say it. You make it entertaining and you still care for to
    keep it sensible. I cant wait to read far more from you.
    This is actually a terrific web site. https://arsenal43.ru/catalog/pages/?populyarnoe_onlayn_kazino_ramenbet___24_7_azart.html

  30. Bryce 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

  31. wanmogyg dice:

    It is important to note that not every pharmacy technician receives this type of low wage understanding that when employed in private pharmacies, it is more than likely that one receives a wage of $17 each hour minimum. Fear not, eventually you will know precisely how to handle different types of problems that comes about. If you get prescriptions every month make sure your pharmacy has your most up to date prescription insurance information.

  32. toto dice:

    What’s up, after reading this remarkable paragraph i am also
    glad to share my know-how here with colleagues.

  33. Anónimo dice:

    Useful info. Fortunate me I found your web site unintentionally, and I am surprised why this twist of fate didn’t took place in advance!
    I bookmarked it.

    Feel free to visit my web page – optiontradingspeak.com

  34. oiwuufy dice:

    Most patients were paying a nice income for their insurance and were often upset when their prescriptions required a $50 co-pay, or that they not met their $4,000 deductable and must pay for the entire cost out-of-pocket. In Oklahoma, pharmacists are required to obtain a valid photo identification before dispensing any controlled, dangerous substance. After you done the account, you may now select a payment scheme.

Responder a sleeper sofa Cancelar respuesta