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: 35,618

  1. evostoto dice:

    Thanks in support of sharing such a good thinking, piece
    of writing is good, thats why i have read it entirely

  2. TeddyUsath dice:

    CuraBharat USA: CuraBharat USA – CuraBharat USA

  3. TeddyUsath dice:

    order medicine without prescription: pharmacies in india – CuraBharat USA

  4. mostbet_yxet dice:

    скачать мостбет официальный сайт [url=www.mostbet12006.ru]www.mostbet12006.ru[/url]

  5. Definitely imagine that which you said. Your favorite reason appeared to
    be at the web the simplest thing to take
    into account of. I say to you, I certainly get irked even as other people consider worries that they plainly do not recognise about.

    You managed to hit the nail upon the highest as neatly as defined out the entire thing without having side-effects , other folks can take a signal.
    Will likely be back to get more. Thanks

  6. I like what you guys are usually up too. This type
    of clever work and reporting! Keep up the wonderful works guys I’ve added you guys to our blogroll.

    Here is my web blog … proxy security standards 2026

  7. evostoto dice:

    Excellent web site. A lot of useful information here.
    I am sending it to several buddies ans also sharing in delicious.
    And of course, thank you on your effort!

  8. Thomasgesse dice:

    фотобарнаул Портрет по фотографии: Услуга создания портрета, основанного на предоставленной фотографии. Художники – как классические, так и цифровые – используют фотографию в качестве референса для создания живописного, графического или цифрового портрета.

  9. It’s impressive that you are getting thoughts from
    this paragraph as well as from our dialogue made at this place.

  10. Excellent site you have here.. It’s hard to find excellent writing like yours nowadays.
    I seriously appreciate people like you! Take care!!

  11. I just like the valuable info you supply for your articles.
    I will bookmark your blog and check again here frequently.
    I’m slightly certain I will be informed a
    lot of new stuff right right here! Good luck for the next!

  12. Hi, I do think your website could possibly be having internet browser compatibility problems.
    Whenever I look at your web site in Safari, it looks fine but
    when opening in IE, it’s got some overlapping issues.

    I just wanted to give you a quick heads up! Aside from that, wonderful site!

  13. Charlesvap dice:

    SaludFrontera: SaludFrontera – pharmacy in mexico city

  14. super113 dice:

    We are a group of volunteers and opening a new scheme in our community.

    Your website provided us with valuable info to work on.
    You have done an impressive job and our entire community will be thankful to you.

  15. автоматические карнизы [url=https://avtomaticheskie-karnizy.ru]автоматические карнизы[/url] .

  16. электрокарнизы [url=http://elektro-karniz77.ru]электрокарнизы[/url] .

  17. Donaldoffip dice:

    Working mirrors of 1win casino are located on the specified domains 1win casino зеркало

  18. StevenTup dice:

    An important part remains the tools of responsible gaming https://admprigkalach.ru/

  19. h?n sy?ks?hti eteenp?in jak?vi k?siksi polulla olevaan mieheen.ラブドール sexH?n oli vahva kuin nuori leijona,

  20. электрокарниз купить в москве [url=http://karnizy-s-elektroprivodom-cena.ru/]электрокарниз купить в москве[/url] .

  21. электрический карниз для штор купить [url=www.elektrokarniz-cena.ru/]электрический карниз для штор купить[/url] .

  22. Michaelhaurf dice:

    TrueNorth Pharm [url=http://truenorthpharm.com/#]canadian pharmacy in canada[/url] TrueNorth Pharm

  23. Medicine prescribing information. Drug Class.
    how can i get cheap bactrim without dr prescription
    Everything what you want to know about medication. Read information now.

  24. вывод из запоя оренбург
    vivod-iz-zapoya-orenburg008.ru
    вывод из запоя круглосуточно

  25. Georgecix dice:

    A DMCA takedown plea is a formal tempt used to аск an online service provider to remove or disable access to copyrighted load that is posted without permission. It is based on the Amalgamated States Digital Millennium Copyright Act (DMCA) and is by many used via copyright holders, their agents, and now platforms to sermon breach quickly.

    Legal essence and outcome
    The DMCA creates a notice-and-takedown framework. Copyright owners notify online checking providers there avowed infringements. If the provider complies via removing or disabling access to the material, they can obtain safe-harbor preservation from burden in requital for hosting third-party content. The tutor purpose is to balance copyright enforcement with protections suited for service providers and users.

    Who can send a request
    A valid requester is the copyright proprietor or an authorized legate acting on their behalf. The requester necessity be subjected to a good-faith intuition that the press into service is unsanctioned and be required to assert that the report in the commentary warn is on target second to mulct of perjury.

    What a proper DMCA takedown regard should contain
    A compliant give heed to typically contains:
    – A physical or electronic signature of the claimant or an authorized spokeswoman
    – Perception of the copyrighted work claimed to be infringed (or a representative list)
    – Badge of the infringing elements and its spot (URLs or sufficient dirt to situate it)
    – Connection poop of the claimant (talk to, telephone number, email)
    – A allegation of good-faith doctrine that the partake of is illicit
    – A expression that the message is conscientious and, below mulct of perjury, that the claimant is authorized to behave oneself

    How online mending providers feel for
    Upon receiving a valid notice, providers in general necessity performance expeditiously to efface or disable access to the supposed infringing apparatus to keep an eye on safe-harbor protection. They as a rule declare the subscriber or uploader that content was removed and specify facts about counter-notice procedures.

    Counter-notice and restoration process
    If the uploader believes the capacity was removed in flagitiousness a wrong (payment prototype, fair expend or laxity), they can submit a DMCA counter-notice. A valid counter-notice essential subsume specific intelligence and a statement consenting to jurisdiction. After receiving a meet counter-notice, the waiting provider may resurrect the load after a set period (habitually 10–14 corporation days) unless the copyright claimant files a lawsuit.

    Limitations and risks
    – Misusage: Misleading or bad-faith notices can lead to wrongful removals. The law allows in favour of penalties inferior to mendaciousness rules and potential arrears by reason of misrepresentation [url=https://nbaworld.ru/user/Veola38Z408360/]https://nbaworld.ru/user/Veola38Z408360/[/url]
    – Jurisdictional space: The DMCA is U.S. law; its shortest legal force is little front the U.S., though diverse extensive platforms track alike resemble procedures.
    – Not a remedy seeing that all claims: DMCA addresses copyright, not defamation, reclusion, or trademark issues.

    Best practices on account of claimants
    – Verify ownership and the infringing handling carefully in the past sending a notice.
    – Anticipate well-defined locations (unmitigated URLs) and undiminished contact details.
    – Amass records of communications and documentation of infringement.
    – Ponder alternative take exception to fineness or licensing discussions when appropriate.

    Pre-eminent practices in compensation recipients and platforms
    – Appliance bright procedures to go to handling notices and counter-notices.
    – Claim unambiguous communication with users stiff nearby removals.
    – Parade standard to gauge the formal sufficiency of notices while avoiding unnecessary thesis suppression.
    – Ingest repeat-infringer policies consistently.

    Conclusion
    A DMCA takedown application is an signal, legally structured arrangement for enforcing copyright online. When used correctly, it helps copyright holders tend their works and allows usefulness providers to on liability. Proper profit by, cautious verification, and compliments as a replacement for counter-notice rights are primary to care for fairness and legal compliance.

  26. При возникновении проблем с зависимостямиобращение к наркологу становится важным шагом. Сайт vivod-iz-zapoya-vladimir012.ru предоставляет квалифицированную помощь в борьбе с зависимостями. Признаки зависимости варьируются и могут быть разными, поэтому важно их вовремя идентифицировать. Обращение к врачу поможет определить оптимальные методы лечения алкоголизма или наркомании. Центр реабилитации предлагает конфиденциальную помощь и поддержку для близких. Медицинская помощь при наркомании включает восстановление после зависимости, что является важным этапом на пути к здоровью. Не откладывайте обращение к специалисту, так как это может оказаться жизненно важным шагом.

  27. I depended toomuch upon uncle s money.ラブドール sexI ought to be insured.

  28. электрокарниз купить в москве [url=http://avtomaticheskie-karnizy.ru]электрокарниз купить в москве[/url] .

  29. 銉┿儢銉夈兗銉?銈儕銉嬨兗Lois Reddle’s mother,andher name was Pinder!“A very beautiful girl,

  30. прокарниз [url=https://elektro-karniz77.ru/]https://elektro-karniz77.ru/[/url] .

  31. sanoi Bosambo ja odotti.ラブドール オナニーTambeli pisti k?tens? vaippansa alle ja veti sielt? lyhyen bambukepin.

  32. Lottie F. Bales dice:

    This reminds me of that time when I was trying to automate deployments for a small project, and kept getting configuration drift… it was a nightmare of manual interventions, constantly fixing inconsistencies. The whole thing became a crazy dance involving Slither io wiggly paths but with code, and it made me appreciate the need for consistent environments.

  33. What a material of un-ambiguity and preserveness of precious knowledge concerning unpredicted feelings.

  34. TeddyUsath dice:

    SaludFrontera: mexico pharmacy – online pharmacy

  35. Diplomi_xzpi dice:

    купить реальный диплом о высшем образовании [url=http://www.educ-ua19.ru]купить реальный диплом о высшем образовании[/url] .

  36. автоматические карнизы для штор [url=http://elektrokarniz-cena.ru/]автоматические карнизы для штор[/url] .

  37. электрокарнизы москва [url=http://karnizy-s-elektroprivodom-cena.ru/]http://karnizy-s-elektroprivodom-cena.ru/[/url] .

  38. mostbet_dqSa dice:

    мостбет кыргызстан [url=http://mostbet12003.ru]http://mostbet12003.ru[/url]

Responder a ai girlfriend Cancelar respuesta