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: 80,503

  1. MartinJaify dice:

    Prednexa Med: PrednexaMed – PrednexaMed

  2. Freddycor dice:

    Cheung, who regularly expresses hostility toward reporters on social media platform X, asserted in a Friday night post that, “some reporters have been caught” taking pictures of sensitive information and “eavesdropping on private, closed-door meetings.”
    [url=https://kpa42.cc]httpkra39cc[/url]
    That claim came as news to White House press corps leaders, who are not aware of colleagues being “caught.”
    [url=https://kra—46at.ru]kra36сс[/url]
    Early in Bill Clinton’s presidency, Clinton aides similarly attempted to bar journalists from the “upper press” area, causing an outcry. That ban was rescinded.
    [url=https://kra-42cc.com]ссылканакракен[/url]
    Journalists had normal access to the offices during President Trump’s first term in office. But in his second term, Trump and his aides have taken several steps to stymie news coverage and circumvent traditional media outlets.
    [url=https://kra–46–at.ru]kra37at[/url]
    Last winter, the administration blocked the Associated Press from attending some White House events, leading to a First Amendment lawsuit that is still working its way through the courts.
    [url=https://kra41-cc.net]kra18[/url]
    The administration has also stopped publishing transcripts of Trump’s remarks; has taken control of daily press pool assignments; and has invited fawning pro-Trump commentators to presidential Q&As.
    [url=https://kra—45cc.ru]kra35cc[/url]
    Some cabinet secretaries have followed Trump’s lead. Last month, Defense Secretary Pete Hegseth implemented severe new restrictions for Pentagon press pass credentialing, leading virtually every major media outlet to reject the rules and give up access to the Pentagon complex.

    CNN’s Samantha Waldenberg contributed to this report.
    kra36cc
    https://kra-38–at.ru

  3. TerryTem dice:

    Members of the White House press corps are now restricted from the press secretary’s office, the latest in a series of Trump administration actions to limit media access.
    [url=https://kra40at.cc]kra41 сс[/url]
    The new rule says journalists cannot access what’s known as the “Upper Press” office space, where White House press secretary Karoline Leavitt works, “without an appointment.”

    This area has been accessible to White House correspondents for decades, supporting a free flow of information between the president and the public.
    [url=https://kra49at.net]kra40 сс[/url]
    The White House says the clampdown is due to security concerns.

    “This policy will ensure adherence to best practices pertaining to access to sensitive material,” a White House memo asserted on Friday night.
    [url=https://kra42-at.cc]https kra41 cc[/url]
    In response, the White House Correspondents’ Association, which represents hundreds of credentialed reporters, said it “unequivocally opposes any effort” to limit journalists from areas that have long been accessible for newsgathering, “including the press secretary’s office.”

    “The new restrictions hinder the press corps’ ability to question officials, ensure transparency, and hold the government accountable, to the detriment of the American public,” the association said.
    [url=https://kra40.net]kra43 cc[/url]
    As CNN’s Jeff Zeleny explained, reporters routinely “wait in the hall” by the press secretary’s office and seek information from communications aides. “When there is breaking news, that often happens,” Zeleny said.

    Now, “reporters will only have access to a smaller set of offices of junior advisers, junior aides, junior press secretaries,” according to the White House.
    kra45 at
    https://kra–41.cc

  4. кухни от производителя спб [url=https://kuhni-spb-9.ru/]kuhni-spb-9.ru[/url] .

  5. This paragraph will help the internet viewers for building up
    new blog or even a blog from start to end.

  6. кухня по индивидуальному заказу спб [url=www.kuhni-spb-12.ru]кухня по индивидуальному заказу спб[/url] .

  7. Patrickerupt dice:

    Even the joy of Halloween will cost more this year, with less chocolate than in years past.
    [url=https://kraken2trfqodidvlh4aa337cpzfrhdlfldhve5nf7njhumwr7instadl.com]kraken5af44k24fwzohe6fvqfgxfsee4lgydb3ayzkfhlzqhuwlo33ad onion[/url]
    Expect more packages of tangy gummies, riding off a meteoric high last year. Your kid’s trick-or-treat bag may be filled with a lot of pumpkin-spice-filled-anything. And like last year, cocoa bean industry experts are expecting high price tags to be passed down to consumers.
    [url=https://kraken6gf6o4rxewycqwjgfchzgxyfeoj5xafqbfm4vgvyaig2vmxvyd.com -]kraken2trfqodidvlh4aa337cpzfrhdlfldhve5nf7njhumwr7instad onion[/url]
    And with high cocoa prices, every producer from specialty chocolate makers to candy giants are changing up how they sell their treats. For consumers, this could mean less chocolate per package, higher prices and less cocoa content – meaning less chocolate-y chocolate – compared to before.
    [url=https://kraken2trfqodidvlh4a37cpzfrhdlfldhve5nf7njhumwr7instad.info]рабочая ссылка кракен[/url]
    Overall, candy is 10.8% more expensive this Halloween season than last year, according to an analysis of NielsenIQ data conducted by progressive think tank Groundwork Collaborative and shared first with CNN. That’s nearly quadruple the overall rate of inflation.
    [url=https://kraken2trfqodidvlh4aa337cpzfrhdlfldhve5nf7njhumwr7instadl.com]kraken2trfqodidvlh4aa337cpzfrhdlfldhve5nf7njhumwr7instad onion[/url]
    In 2024, Halloween candy prices only rose 2.1%, the analysis found.

    Halloween spending is no fun-sized matter. Americans shelled out $7.4 billion in Halloween chocolate and candy sales in 2024, a 2.2% increase from 2023, the National Confectioners Association said.
    kraken7jmgt7yhhe2c4iyilthnhcugfylcztsdhh7otrr6jgdw667pqd

    https://kraken2trfqodidvlh4aa337cpzfrhdlfldhve5nf77instad.com

  8. BarneyPen dice:

    Escazu Chocolates, a bean-to-bar chocolate shop in Raleigh, North Carolina, sources most of its beans from Latin America. The shop said it has always worked with smaller farmers and paid them three to four times the commodity price of cacao – which essentially sets the minimum wage. The spike in prices has pushed up what Escazu pays those workers as well.
    [url=https://kpa36.cc]kra34[/url]
    Other cost-cutting measures include offering a smaller hot chocolate size, advertising non-chocolate ice cream toppings and moving to a cheaper location in Raleigh to save on rent.
    [url=https://kra36-at.cc]kraken14[/url]
    And like many small businesses in America, Escazu is being hit by President Donald Trump’s tariffs, affecting not just the chocolate, but also aluminum in its packaging.
    [url=https://kra-31.cc]kra20 cc[/url]
    “The tariffs have hit every single piece of what goes into every single thing,” Tiana Young, co-owner of Escazu, told CNN. “There is no new normal.”
    kra37 at
    https://kra27at.cc

  9. not? de sa main,és endroits plusmemorables (comme il estait l’un des plus practics gentils hommesde son temps esdictes langues,ラブドール えろ

  10. ラブドール エロquizá mucho,de su fuerza poética yhonda energía.

  11. MartinJaify dice:

    indian pharmacy: india pharmacy – Indiava Meds

  12. union 777 dice:

    I’m truly enjoying the design and layout of your blog. It’s a very easy on the eyes which makes it much more enjoyable for me to come here and visit more
    often. Did you hire out a designer to create your theme?
    Excellent work!

  13. кухни на заказ санкт петербург [url=http://kuhni-spb-11.ru/]кухни на заказ санкт петербург[/url] .

  14. aviator money [url=aviator-game-winner.com]aviator-game-winner.com[/url] .

  15. 1win_kg_zven dice:

    1 win зеркало [url=www.1win5520.ru]1 win зеркало[/url]

  16. ラブドール オナニーsanoiSanders lyhyesti,— eik? t?ss? ole ollut tulta sitten maailman alun.

  17. Diplomi_nuMl dice:

    диплом купить в минске [url=https://r-diploma7.ru]https://r-diploma7.ru[/url] .

  18. 1win_kg_eqPl dice:

    aviator игра 1win [url=http://1win5521.ru/]http://1win5521.ru/[/url]

  19. кухни на заказ в спб недорого [url=http://www.kuhni-spb-11.ru]кухни на заказ в спб недорого[/url] .

  20. aviator game [url=https://aviator-game-best.com/]aviator game[/url] .

  21. кухня глория [url=http://www.kuhni-spb-12.ru]http://www.kuhni-spb-12.ru[/url] .

  22. MartinJaify dice:

    Navikara Pharmacy: Navikara Pharmacy – amoxil online

  23. survey dice:

    For the reason that the admin of this website is working, no question very soon it will
    be well-known, due to its feature contents.

  24. — sill? mets?t ja joet on luotu kaikkiavarten,eik? ole tarvis mit??n rajaa.ラブドール オナニー

  25. MartinJaify dice:

    amoxicillin 500mg capsules: medicine amoxicillin 500 – Amoxicillin 500mg buy online

  26. Volwassen entertainment is toegankelijk via veilige en betrouwbare websites.
    Ontdek veilige adult sites voor kwaliteitsinhoud.

    Also visit my page :: buy xanax without prescrition

  27. MartinJaify dice:

    buy amoxil: Navikara Pharmacy – Navikara Pharmacy

  28. 1win_kg_qken dice:

    1 vin [url=1win5520.ru]1 vin[/url]

  29. Manuel dice:

    [url=https://myforexcashback.com/]https://myforexcashback.com/[/url]forex cashback, forex rebate represents a useful trading feature created to give back a portion of spreads or commissions commonly deducted by broker platforms. Such a model cuts down the total cost of trading, helping traders maintain a more profitable cost structure, particularly for high-volume traders. Rebates are generally credited automatically per executed transaction or for a set timeframe, ensuring a consistent monetary return. Through participating in forex rebate programs, traders can improve their ROI all while keeping their strategies unchanged. The main step is picking a proven cashback partner, connecting the account and operating normally. Numerous brokers work with rebate platforms, allowing traders to maintain their preferred platform while still getting valuable cashback credits. Forex cashback also provides transparency, giving access to detailed rebate history, helping maintain a clear picture of expenses. A further advantage is that earnings accumulate regardless of market intensity, creating a passive addition to the trading balance. As cashback functions parallel to strategy, traders of all skill levels can utilize it effectively. Those who trade intensively may receive significant monthly rebates, strengthening the long-term robustness of their method. Within the dynamic forex landscape, every reduction of cost matters, with rebate systems being one of the easiest cost-optimization tools. Selecting a trustworthy rebate partner guarantees clear terms, punctual credits, and consistent advantages, making forex cashback an essential component of a modern trading setup.

  30. MartinJaify dice:

    medicine online shopping: online medicine – Indiava Meds

  31. Manuel dice:

    [url=https://myforexcashback.com/]https://myforexcashback.com/[/url]forex cashback, forex rebate serves as an effective instrument designed to return part of the trading costs commonly deducted by broker platforms. Such a model cuts down the total cost of trading, helping traders maintain a more profitable cost structure, especially for those working with high volumes. The rebate is typically issued automatically on a daily or weekly basis, offering a stable added value. With the adoption of reliable cashback solutions, traders can improve their ROI without altering their existing trading approach. The main step is picking a proven cashback partner, connecting the account and operating normally. Numerous brokers work with rebate platforms, enabling users to trade on their chosen terminal while still receiving substantial rebate payouts. Forex cashback also provides transparency, as traders can track every refunded amount, helping maintain a clear picture of expenses. A further advantage is that earnings accumulate regardless of market intensity, building an extra layer of measurable income. As cashback functions parallel to strategy, it suits both novice and experienced traders. High-frequency traders may generate sizeable monthly returns, further improving the long-term sustainability of their trading approach. Across today’s global forex market, any reduction in commissions becomes meaningful, and cashback programs stand out as one of the most accessible ways to optimize expenses. Selecting a trustworthy rebate partner guarantees clear terms, punctual credits, and consistent advantages, turning cashback into a vital part of an efficient trading environment.

  32. Manuel dice:

    [url=https://myforexcashback.com/]https://myforexcashback.com/[/url]forex cashback, forex rebate serves as an effective instrument designed to return part of the trading costs usually charged by brokers. Such a model cuts down the total cost of trading, helping traders maintain a more profitable cost structure, particularly for high-volume traders. Rebates are generally credited automatically on a daily or weekly basis, ensuring a consistent monetary return. Through participating in forex rebate programs, market participants can enhance their investment efficiency without modifying their trading strategy. All that is required is selecting a reputable provider, attaching the account and following the standard routine. Many brokers cooperate with cashback services, enabling users to trade on their chosen terminal while still getting valuable cashback credits. Cashback structures support transparency, allowing users to monitor each refunded value, making budget management more predictable. Another advantage is that rebates accumulate even during minor market activity, building an extra layer of measurable income. Since cashback works independently of strategy, it suits both novice and experienced traders. High-frequency traders may generate sizeable monthly returns, enhancing stability and growth potential over time. Across today’s global forex market, any reduction in commissions becomes meaningful, making rebate services an approachable method to reduce costs. Selecting a trustworthy rebate partner guarantees clear terms, punctual credits, and consistent advantages, making forex cashback an essential component of a modern trading setup.

  33. Manuel dice:

    [url=https://myforexcashback.com/]https://myforexcashback.com/[/url]forex rebate, forex cashback serves as an effective instrument designed to return part of the trading costs that traders normally pay to brokers. This approach minimizes cumulative trading costs, increasing the cost-efficiency of every trading action, which is extremely beneficial for active traders. Rebates are generally credited automatically either per trade or by period, ensuring a consistent monetary return. Through participating in forex rebate programs, traders can improve their ROI without altering their existing trading approach. The key factor is choosing a trustworthy service, linking the trading account, and continuing to trade as usual. Many brokers cooperate with cashback services, letting traders stay with the platform they prefer while still getting valuable cashback credits. Forex cashback also provides transparency, as traders can track every refunded amount, helping maintain a clear picture of expenses. An added benefit is accumulation of rebates even with smaller trade frequency, forming a steady supplementary return. Since cashback works independently of strategy, both beginners and professionals can benefit equally. High-frequency traders may generate sizeable monthly returns, enhancing stability and growth potential over time. Within the dynamic forex landscape, every reduction of cost matters, and cashback programs stand out as one of the most accessible ways to optimize expenses. Choosing a reliable cashback provider ensures transparent conditions, timely payments, and steady benefits, making forex cashback an essential component of a modern trading setup.

  34. It’s very easy to find out any topic on net as compared to books,
    as I found this article at this website.

  35. aviation game [url=www.aviator-game-winner.com]aviation game[/url] .

  36. aviator x [url=http://aviator-game-cash.com/]http://aviator-game-cash.com/[/url] .

Responder a hack para kings of war Cancelar respuesta