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: 29,490

  1. Highly energetic blog, I liked that bit. Will there be a part 2?

    Here is my website … http://www.ufa191.com

  2. Hi there to every one, it’s actually a pleasant for me to pay a visit this web site,
    it contains useful Information.

    Here is my blog post … Independent CBD

  3. I feel that is one of the most important info for me.
    And i’m satisfied studying your article. However should commentary on some
    basic issues, The site style is perfect, the articles is really great
    :D. Good activity, cheers.

    Visit my blog … Independent CBD

  4. Howdy this is kind of of off topic but I was wanting to know
    if blogs use WYSIWYG editors or if you have to manually code
    with HTML. I’m starting a blog soon but have no coding experience so I wanted to get guidance from someone with experience.
    Any help would be enormously appreciated!

  5. internet dice:

    Thank you a bunch for sharing this with all folks you really recognize
    what you are speaking approximately! Bookmarked. Kindly also
    seek advice from my site =). We may have a hyperlink alternate agreement
    among us

  6. Originally the OLPC Foundation stated that
    governments should purchase the laptop computer in batches
    of 25,000 to distribute to their citizens, but
    a new program will quickly enable personal citizens to purchase an XO.

    Many governments have expressed curiosity in the laptop computer or
    verbally committed to purchasing it, but Negroponte stated that some have not followed
    through on their guarantees. After you have it in, cinch it down with the lever
    arm. The 8- and 9-inch versions have a entrance-going through, 2-megapixel digital camera.

    There are constructed-in speakers and WiFi connectivity; however,
    there isn’t any digital camera in any respect. The latter
    has a 9.7-inch (1024 by 768) capacitive show, a speaker and a 0.3-megapixel digicam.
    Now let’s take a more in-depth have a look at what kinds of questions are on the MCAT.
    The Physical Sciences guide, for instance, is ten pages long,
    itemizing each scientific precept and subject within common chemistry and physics that
    may be coated within the MCAT.

  7. warm blanket dice:

    I visited many web sites except the audio feature for audio songs present
    at this website is genuinely excellent.

  8. freecredit dice:

    And magnetic-stripe cards supply almost no protection in opposition to essentially the most fundamental form
    of identification theft: stealing somebody’s wallet or purse.

    A debit card presents no protection in case your account number is stolen and used.
    It provides them avenues of acquiring personal information never
    thought doable in the times before the online. Phishing is a rip-off by
    which you receive a pretend e-mail that seems to come out of your financial
    institution, a merchant or an auction Web site.
    The info is collected by the rip-off artists and used or sold.
    But if you would like the advantages of the 3GS, you may need to ante
    up an additional $100 over the price of the 3G. Although that’s a substantial price bounce, the large
    leap in performance and options is value the extra dough.
    The advertisers then do not need to risk the vagrancies of real-time
    auctions and lose ad slots at essential occasions; they sometimes like an inexpensive guarantee of
    advert slots at a selected time sooner or later within their budget constraints at the moment.

    If you’d wish to read extra about automotive electronics and different
    related topics, follow the hyperlinks on the
    following page. Chip and PIN playing cards like it will
    turn out to be the norm in the U.S.A.

  9. I used to be suggested this website by way of my cousin. I’m
    now not certain whether this put up is written by him as no one else recognize such certain about my trouble.
    You’re incredible! Thanks!

  10. Although Pc gross sales are slumping, tablet computer systems may be just getting began. But
    hackintoshes are notoriously difficult to build, they are often unreliable machines and you can’t anticipate to get any technical support from Apple.
    Deadlines are a good way to help you get stuff performed and crossed off your list.

    In this paper, we’re the first to make use of multi-task sequence labeling model
    to tackle slot filling in a novel Chinese E-commerce dialog system.
    Aurora slot cars may very well be obtained from online websites equivalent to eBay.
    Earlier, we talked about utilizing web sites like
    eBay to sell stuff that you don’t want. The explanation for this is
    easy: Large carriers, particularly those that sell
    smartphones or other merchandise, encounter conflicts of interest
    in the event that they unleash Android in all its universal glory.
    After you have used a hair dryer for a while, you may discover a considerable amount of lint constructing
    up on the outside of the display. Just think about what it could be like to haul out poorly labeled bins of haphazardly packed vacation supplies in a final-minute attempt to search out
    what you need. If you may, make it a precedence to mail things out as rapidly as doable — that may assist you
    avoid muddle and to-do piles around the home.

  11. freecredit dice:

    This weblog will work on all units. Modern in every element,
    handy for work on any devices – HotelPro template of the
    booking software. Therefore, you will need to create an software that allows soccer fans to observe
    their passion and attract increasingly more individuals to their group.
    The football neighborhood is one in all the largest on this planet.
    The London Marathon can also be considered one of racing’s largest fundraising events.
    The G-Slate runs on the Android 3.Zero (Honeycomb) operating system,
    and it was one among the primary tablets to take action. Instead, they’d first register an account on the dealership’s
    Web site. It might be your first clue that somebody has already stolen your id.
    In this article, we’ll find out how identity thieves steal or rip-off their method into your
    monetary life, and define the best ways to maintain it
    from happening. And many of these corporations provide ways you possibly can earn cash using
    your personal possessions or time. This template is suitable for any operating system, subsequently, using this
    template is as easy as booking a hotel room.

  12. Greetings! Very helpful advice in this particular article!
    It’s the little changes that will make the
    greatest changes. Many thanks for sharing! http://sportpavilion.com/wp-content/themes/bridge/woocommerce/global/merce.php?p=202109/crfhps20

  13. I loved as much as you’ll receive carried out right here.
    The sketch is tasteful, your authored subject
    matter stylish. nonetheless, you command get bought an impatience over that you
    wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly
    a lot often inside case you shield this hike.

    My web blog … Black Eagle CBD Gummies Review

  14. I’m excited to uncover this great site. I need to
    to thank you for your time due to this fantastic read!!
    I definitely liked every part of it and I have you bookmarked to check out new
    things on your website.

  15. Hey! Would you mind if I share your blog with my twitter group?
    There’s a lot of folks that I think would really enjoy your content.
    Please let me know. Thanks

  16. freecredit dice:

    Ausiello, Michael. “Exclusive: ‘Friday Night Lights’ sets finish date.” Entertainment
    Weekly. It enables you to do a weekly grocery store, and includes
    foods from Whole Foods Market, Morrisons
    and Booths, plus everyday essentials, however supply slots are presently restricted.
    Customers who store online are encouraged to buy in-store the place doable to assist free up delivery slots
    for the elderly prospects and those who are self-isolating.

    Any person who does not prefer to consistently press the beginning button to launch the gameplay can activate the computerized begin. Even when the
    batteries are so low which you could no longer turn the machine on (it provides you
    with loads of warning earlier than this happens), there’s normally sufficient power to keep
    the RAM refreshed. Some exhibits by no means have much of
    a chance as a result of networks move them from timeslot to timeslot, making
    it laborious for fans to maintain observe of them.
    Other properly-rated shows are simply expensive to produce, with large casts and location pictures.

    The RTP charge reaches 95.53%. Gamblers are advisable to try and observe the Flaming Hot slot demo to develop their very own methods for the game.
    This can be achieved in the total model of the game and by
    launching the Flaming Hot free slot.

  17. You have brought up a very wonderful points, appreciate it
    for the post.

    My page :: True Body Keto

  18. This is my first time pay a quick visit at here and i am actually impressed
    to read everthing at alone place.

    Stop by my blog post; Keto ACV Gummies Cost

  19. Although Pc sales are slumping, tablet computer systems is perhaps simply getting started.
    But hackintoshes are notoriously difficult to
    build, they are often unreliable machines and also you can’t count
    on to get any technical help from Apple. Deadlines are a great way to
    help you get stuff carried out and crossed off your
    record. On this paper, we are the primary to
    employ multi-job sequence labeling model to deal with slot filling in a novel Chinese E-commerce dialog system.

    Aurora slot vehicles could be obtained from online sites reminiscent
    of eBay. Earlier, we mentioned using websites like eBay
    to sell stuff that you don’t need. The rationale for this is simple: Large carriers, particularly those who promote smartphones or different products, encounter conflicts of curiosity
    if they unleash Android in all its universal glory.

    After you’ve used a hair dryer for a while, you’ll discover a considerable amount of lint building up on the outside of the screen. Just imagine what it can be like
    to haul out poorly labeled packing containers of haphazardly packed holiday supplies
    in a final-minute attempt to search out what you need.
    If you can, make it a priority to mail issues out as rapidly as possible — that can allow you to keep away from clutter
    and to-do piles around the house.

  20. There’s a micro USB connector on the fitting aspect,
    and an SD card slot on the left protected when not in use by
    a rubber plug. Identical to Tesco, the primary available supply slot for ASDA is on the 14th of April, although,
    the supermarket presently seems to be having bother with their web site as the grocery section is
    at the moment down. It appears like you will be ready until around the center/end of April for a supply slot.
    If you don’t like the slot machine approach, you may browse restaurants by numerous classifications
    or view a list of Urbanspoon listings near
    your present location. Once on the web page, kind “Cherry Master slot machine” into
    the search subject at the highest of the web page and
    press enter to bring up the listings. The RTP rate reaches 95.53%.
    Gamblers are beneficial to try and observe the Flaming Hot slot demo to develop their own strategies for
    the game. On this paper we only define a slot filling drawback in Dress category domain for simplification. This is making it hard to get
    a delivery slot, with wait instances now measured in weeks rather than days.

  21. 6666230 dice:

    My brother suggested I may like this web site. He was entirely right.
    This post truly made my day. You cann’t consider just
    how much time I had spent for this info! Thanks!

  22. I’m amazed, I have to admit. Seldom do I encounter a blog that’s both
    equally educative and engaging, and without a doubt, you’ve hit the nail on the head.
    The issue is an issue that too few men and women are speaking intelligently about.
    I’m very happy that I came across this in my search for something relating
    to this.

  23. Hi, I desire to subscribe for this web site to obtain newest updates, so
    where can i do it please help.

    Have a look at my web-site – Tradersopen.Com

  24. I’m gone to say to my little brother, that he should also go to see this webpage
    on regular basis to get updated from most recent information.

  25. Wow, that’s what I was seeking for, what a information! present here at this weblog, thanks admin of this website.

  26. email list dice:

    Superb blog! Do you have any hints for aspiring writers?

    I’m hoping to start my own site soon but I’m a
    little lost on everything. Would you suggest
    starting with a free platform like WordPress or go for a paid option? There are so many options
    out there that I’m totally overwhelmed .. Any tips?
    Thank you!

  27. Hello! I could have sworn I’ve been to this site before but after browsing
    through some of the post I realized it’s
    new to me. Anyhow, I’m definitely glad I found it and
    I’ll be bookmarking and checking back often!

  28. marketing dice:

    I am regular visitor, how are you everybody? This article posted
    at this site is really fastidious.

  29. Very quickly this site will be famous amid all blogging and site-building viewers, due to it’s fastidious articles or
    reviews

  30. Two components are key to the method ahead for catastrophe cinema,
    escalation, and escapism.

  31. kroger dice:

    Hi to all, how is all, I think every one is getting more from this web site, and your views are
    good designed for new visitors.

  32. I got this site from my pal who shared with me on the topic of
    this site and at the moment this time I am browsing this site
    and reading very informative articles or reviews at this time.

  33. Spirituality dice:

    You made some decent points there. I looked on the internet to find
    out more about the issue and found most
    people will go along with your views on this website.

  34. Make very good utilization of parent manage configurations on Dragon Ball Super Super Hero.
    You must determine if this video game can be played out on-line.
    Restriction the net entry your youngsters have when it is.
    You may also want to check their buddies requests and restriction how much time too.

  35. Hi! I know this is kinda off topic however
    , I’d figured I’d ask. Would you be interested in exchanging links or
    maybe guest authoring a blog article or vice-versa? My website discusses
    a lot of the same subjects as yours and I think we could greatly
    benefit from each other. If you’re interested feel free to send me an email.
    I look forward to hearing from you! Superb blog by the way!

  36. First of all I want to say fantastic blog! I had a quick question which I’d like to ask if
    you don’t mind. I was curious to find out how you center yourself and
    clear your head before writing. I’ve had difficulty clearing my mind in getting
    my ideas out. I truly do take pleasure in writing but it just seems like the first 10 to 15 minutes tend to be wasted just trying to figure out how to begin. Any recommendations or tips?
    Appreciate it!

  37. Realtor dice:

    Its such as you learn my thoughts! You seem to know so much approximately this, like you wrote
    the guide in it or something. I think that you simply could
    do with a few percent to force the message house a bit,
    however other than that, that is excellent blog. A fantastic read.
    I will definitely be back.

  38. It includes 32 Screens with a distinct type of UI.
    This template includes greater than 60 screens
    with very smooth animation that’s consistent with Android and IOS.

    Also on this template there are screens for tracking the alternate rate
    and the growth of bitcoin. Also, this template already helps
    several languages: Italian, German and English. This template for the travel booking
    app was created based on the mistakes and positive results of massive booking firms.
    It will make it even simpler for Americans to travel
    with out the problem of making currency conversions or
    fumbling with an unmanned ticket kiosk at a train station that does not recognize our out-of-date magnetic-stripe playing cards.
    Previously, you had to collect your power and overcome
    the tremor of your voice before making a name, however with the arrival of chats, the world
    has modified and it has turn into simpler for social phobias like me to reside.
    But due to apps like Booking, Airbnb, Tripadvisor, lodge reservations
    and trip planning have develop into much easier.

    This set includes a template with a clear and consumer-friendly design, which is so common with all customers of e-commerce apps akin to ASOS,
    YOOX or Farfetch. This template will make well being care easier, as
    it should carry patients and docs closer together.

  39. This site really has all the information and facts I
    needed about this subject and didn’t know who to ask.

  40. Notable filming places embrace eighty fifth Street, 86th Street, Astor
    Place and Bowery station, and Broadway, between 45th Street and 46th Street.

  41. A simple and (largely) free advertising choice is a post for
    post the place two Instagrammers come collectively and conform to repost 1 of
    every other’s posts by tagging the individual and giving a shoutout.
    It’s Instagram’s way of giving customers the content they’re looking for.

    Compared to regular posts, the tales are fast snaps with thoughts, stories or questions,
    while her common posts are professionally wanting footage,
    like you’d imagine a vogue vlogger would take.
    You may learn to create your own filter or sticker to jazz up your Instagram Stories.
    Perfect, if you are able to do both. You possibly can show social proof on cart
    pages with custom Instagram Feeds. You may share Instagram
    Stories or posts across linked pages in a matter of seconds.
    In brief, Instagram can take away you and your content material from Instagram
    and Facebook, in accordance with their Terms. Since Instagram has changed the
    best way posts present up on users’ timeline, follower
    engagement has develop into crucial.

  42. However, an area murder unleashes a cascade of violence and terror, forcing her to confront the evil
    she will’t control.

  43. Generally I do not read article on blogs,
    however I would like to say that this write-up very compelled me to take a look at and do it!
    Your writing taste has been amazed me. Thanks, quite great post.

  44. All they ask in return is discretion and unquestioning commitment to the Victory trigger.

  45. It’s very easy to find out any topic on web as compared to books, as I found this paragraph at
    this site.

Responder a warm blanket Cancelar respuesta