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,253

  1. mostbet_tysn dice:

    мостбет приложение [url=http://mostbet11064.ru/]http://mostbet11064.ru/[/url]

  2. Remarkable issues herе. I am very happy to pee ypur poѕt.
    Tһanks a lօt and I am looking ahead to touch yߋu. Will you kindly
    drop me а mail?

  3. forexbak dice:

    [url=https://gainforex.net/]Forex Rebates[/url] are an essential tool for traders looking to increase their earnings without taking on extra risk. Working with a reputable rebate broker, you can get a refund on part of the spread you pay on every transaction you make. It’s a simple way to enhance your returns without altering your trading approach. Forex rebates work by returning part of the commission or spread charged by your broker, making it a win-win for traders. No matter if you just started or have years of experience, cashback programs will lower your total expenses, giving you more capital to work with. Numerous trading platforms have attractive rebate deals, but choosing the best one requires comparing rates, payout methods, and reliability. In some cases, you can get both cashback and deposit bonuses, allowing you to maximize your initial capital and long-term gains. Getting started with rebates is simple and takes only a few steps, just sign up, connect your broker account, and trade normally, and you receive payouts according to the provider’s schedule, often weekly or monthly. If you are trading without rebates, you are missing out on easy extra profit. Start using them today and watch your profit grow steadily. To sum up, rebates offer a reliable method to improve your trading results, and when combined with competitive bonuses, they become an unbeatable advantage in the market.
    https://gainforex.net/

  4. Great delivery. Solid arguments. Keep up the great work.

  5. and the fourth imitated the wily fox,in practisinga thousand crafty ambuscades for the destruction of the ignorant andunwary.せっくす どー る

  6. I’m really loving the theme/design of your blog.
    Do you ever run into any internet browser compatibility issues?
    A couple of my blog audience have complained about my website not operating correctly
    in Explorer but looks great in Safari. Do you have any advice to help
    fix this problem?

  7. спортивные новости [url=https://novosti-sporta-2.ru/]novosti-sporta-2.ru[/url] .

  8. hello 88 dice:

    I like the valuable info you provide in your articles. I’ll bookmark your blog and check again here frequently.

    I am quite sure I will learn plenty of new stuff right here!
    Good luck for the next!

  9. Как правильно подготовиться к свадьбе ?

    Свадьба – радостное и самое волнительное событие в жизни пары.
    После того как парень сделал предложение, наступает волнительное время – время подготовки к свадьбе.
    Столько всего нужно сделать.
    Как все успеть и ничего не упустить?
    Многие прибегают к помощи свадебного организатора.
    Но его услуги стоят достаточно дорого, а в преддверии свадьбы лишних денег нет.
    Возможно попробовать организовать торжество самостоятельно, это не
    так уж и сложно. А как это сделать, рассказано в данной статье.

    Как организовать свадьбу?
    – Заявление. Первое, что вам нужно сделать – это подать
    заявление в ЗАГС. Причем, если свадьбу вы хотите сыграть летом, то посетить ЗАГС необходимо как можно раньше.

    В свадебный сезон очень
    трудно попасть на конкретную дату.

    – Ресторан. После того как дата и время торжества будут известны, отправляйтесь на поиски банкетного зала.
    Сейчас выбор огромный. Хотите
    роскошно отметить событие? Выбирайте рестораны свадьба казань .

    А если скромно, то кафе или столовую.

    Летом можно уехать за город, арендовать большую беседку или поставить свой шатер.

    – Пригласительные. Составьте список гостей, которых
    хотите видеть на своей свадьбе.
    Причем, не стоит звать всех
    приятелей своих родителей и соседей.
    Пусть на торжестве будут самые близкие люди.
    Далее в типографии закажите именные пригласительные и отправьте
    всем приглашенным. Да, сейчас часто отправляют их в электронном виде.
    Но, поверьте, получить напечатанные пригласительное значительно приятнее.

    – Кольца. Кольца вы можете купитьв магазине
    или сделать на заказ с именной гравировкой.
    Раньше считалось, что кольца у мужа и жены должны быть одинаковыми.
    Впрочем сейчас все изменилось.
    Часто девушки выбирают кольца с камнями, а мужчины лаконичные простые варианты.

    – Наряд. Его тоже лучше выбирать
    заблаговременно, чтобы была возможность неспешно
    обойти все магазины, посмотреть разные варианты.
    Либо что-то заказать в интернете
    или перешить. Если свадьба зимой,
    то стоит помнить, что без верхней одежды не обойтись.
    А если летом, то, наоборот, чем легче
    будет платье невесты и костюм жениха,
    тем лучше.
    – Прическа и макияж. Имеют важное значение при составлении образа невесты.

    Поэтому прежде, чем выбрать специалиста, нужно найти несколько кандидатов,
    а уже потом остановиться на
    лучшем в своем деле. Заранее узнайте, приедет специалист к вам домой или вам придется отправиться
    в салон красоты. Это поможет в дальнейшем правильно распланировать день.

    – Фотограф и видеооператор. Вам нужно решить кому вы доверите
    съемку свадьбы. Зачастую
    выбирают фотографа и оператора в одном лице.

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

    – Диджей и ведущий. Встретьтесь с
    несколькими лично перед тем, как выбрать кого-то
    одного. С кем вам комфортнее? Кто, по вашему мнению, точно найдет общий
    язык с вашими гостями? На нем и нужно остановить свой выбор.

    – Транспорт. Сейчас действительно у каждой семьи имеется автомобиль, но все же стоит заранее узнать отправятся гости на своей машине
    или решат оставить ее дома.

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

  10. RabertabPaush dice:

    лучший порно сайт порно онлайн смотреть в хорошем качестве бесплатно!

  11. cici303 dice:

    If you want to get a great deal from this piece of writing then you
    have to apply these methods to your won weblog.

  12. ワンピース コスプレ エロhe might in a month or two build himself apalace of his own; that I did not use tea,nor coffee,

  13. I am regular reader, how are you everybody? This piece of writing
    posted at this web page is genuinely pleasant.

  14. Excellent post. I definitely love this website.

    Stick with it!

  15. Attractive component to content. I just stumbled upon your
    site and in accession capital to claim that I get in fact loved account your blog
    posts. Anyway I will be subscribing to your augment or even I fulfillment you get right of entry to persistently quickly.

  16. Pretty part of content. I simply stumbled upon your website and in accession capital to say
    that I acquire in fact enjoyed account your blog posts.
    Any way I’ll be subscribing on your feeds or even I success you
    get admission to persistently rapidly.

  17. down the hill.But she saidshe supposed that they knew the road,ドール エロ

  18. This post will help the internet visitors for
    creating new blog or even a weblog from start to end.

  19. MichaelSuize dice:

    Recent reward gaming sites are rising as a trending choice for users who seek legitimate ways to play gaming titles. This writeup explains how these platforms perform and what distinguishes them compelling to contemporary consumers.

    How they work

    Promo platforms use electronic credits to let players to play games without actual staking of cash. These tokens can often be converted for rewards under specific rules. The system relies on incentive plans that comply with sweepstakes rules in many areas [url=https://locustglen.com/]list of sweepstakes casinos[/url]

    Benefits for players

    Gamblers like the reduced-risk space where they can try favored video slots and card games without major cash risk. Many new sweepstakes sites also provide attractive rewards such as free bets and bonus points to assist gambler retention.

    Key things to consider

    When deciding on a sweepstakes platform, check certification validity and read the conditions for withdrawal points. Look for transparent payout guidelines, fair gameplay function, and dependable assistance. Also evaluate the reach of the site in your location.

  20. when what seemed Ahab rushed from his room,was for the time but a vacated thing,人形 エロ

  21. Instant Stog dice:

    Hello There. I found your blog using msn. This is a really well written article.

    I’ll make sure to bookmark it and return to read more of your useful info.
    Thanks for the post. I will certainly comeback.

  22. Jamesbet dice:

    mail order pharmacy india: world pharmacy india – Indian Meds One

  23. We absolutely love your blog and find many of your post’s to be
    exactly I’m looking for. can you offer guest writers to write content available for you?

    I wouldn’t mind producing a post or elaborating on some of the
    subjects you write concerning here. Again, awesome web log!

  24. Lorna dice:

    Good day! I know this is kinda off topic but I was wondering which blog platform are you using for this site?
    I’m getting tired of WordPress because I’ve had issues with hackers and
    I’m looking at options for another platform. I would be awesome if you could point me in the
    direction of a good platform.

  25. Seymour 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

  26. Zeneara dice:

    Zeneara is getting attention for its focus on supporting ear health and
    improving hearing clarity. Many users like that it’s made with
    natural ingredients aimed at reducing ringing, protecting the ears from
    further damage, and enhancing overall auditory function. For those looking for a gentle
    yet effective ear health supplement, Zeneara seems to be a promising
    option.

  27. magnificent put up, very informative. I ponder why the other experts of this sector don’t notice
    this. You should proceed your writing. I am sure, you’ve a
    great readers’ base already!

  28. RichardSof dice:

    Affordable sildenafil citrate tablets for men: Safe access to generic ED medication – Kamagra oral jelly USA availability

  29. I’m really impressed with your writing skills as well as with the
    layout on your weblog. Is this a paid theme or did you modify it yourself?
    Anyway keep up the nice quality writing, it’s rare to see a great blog
    like this one these days.

  30. PeterCalse dice:

    what is the difference between cialis and tadalafil: Tadalify – Tadalify

  31. Right here is the right web site for anybody who would like to find
    out about this topic. You understand a whole lot its almost tough
    to argue with you (not that I personally will need to…HaHa).
    You definitely put a brand new spin on a subject
    which has been written about for years. Wonderful stuff, just wonderful!

  32. y siempre en sus cosas querrian ser solas: solas en gouernar,ラブドール 通販solas se?oras de todo passatiemp solas no ser contradichas,

  33. новости спорта футбол [url=https://novosti-sporta-1.ru]https://novosti-sporta-1.ru[/url] .

  34. コスプレ せっくすMeanwhile (his conquest ravished from his eyes)The raging chief in chase of Venus flies:No goddess she,commission’d to the field,

  35. какие бывают рулонные шторы [url=www.elektricheskie-zhalyuzi.ru/]www.elektricheskie-zhalyuzi.ru/[/url] .

  36. de hombre porfiado y de persona se?alada,ラブドール リアルde lodos en camin de larga enfermedad,

  37. other giants were sittingthere by the fire,and each of them had a roasted sheep in his hand andwas eating it.アダルト コスプレ

  38. リアルラブドールy toma de mí la sana intencion y llana conuersacion._–Ya no puedo con honra dissimular más,

  39. 下着 av dice:

    What do you want to be afraid for?”This question was not entirely answered in Huck’s slow mind before hefound himself pushed,along with into Douglas’ drawingroom.コス エロ

Responder a jasa kontraktor rumah Cancelar respuesta