SlideShare una empresa de Scribd logo
1 de 7
Clouds can cause rainy weather
                       Problemes no
                   documentats amb ELB
Presentació

• Treballo com a sysadmin a
  Intercom WorldWide.


• Site de cerca de feina a AT, PL
  i IN.


• Plataformes Open Source,
  tecnologies web 2.0,
  virtualització i Cloud
  computing.


• El Cloud computing té moltes
  diferències amb les
  infrastructures habituals.
Situació inicial
 • Instal·lació a Amazon AWS,
   utilitzant EC2 (amb EBS), ELB i
   RDS.

 • ELB balanceja peticions entre
   els frontals, que utilitzen l’RDS
   com a backend de dades.

 • Amazon obliga a utilitzar
   CNAME per la resolució.

 • La seva intenció és poder
   canviar la IP de l’ELB sense
   afectar als usuaris.

 • Com el DNS no permet CNAME
   als registres apex, cal fer
   cabrioles (HTTP Redirect).
Problema

• El problema apareix quan el
  client utilitza proxies DNS amb
  implementacions estrictes
  (Movistar).

• Aquestes implementacions
  poden impedir la resolució de
  l’ELB, en no ser una resposta
  autoritativa.

• El client, en els casos
  analitzats, no rep cap resposta
  completa (que resolgui una IP) i
  determina que el host no
  existeix.

• Aquest comportament no està
  documentat als Fòrums
  d’Amazon.
Solució

• Vam provar diferents
  alternatives, com modificar el
  DNS para donar respostes
  autoritatives de forma
  dinàmica, fent consultes
  immediates a Amazon.

• Observant altres sites amb
  configuració similar (com
  meneame.net), vam decidir
  provar Amazon Route53.

• Vam provar amb un domini
  disponible, verificant tot el
  necessari.

• Com és Amazon qui resol, la
  resposta sempre és
  autoritativa.
Conclusions

• El Cloud no és per tothom: Cal vigilar amb les imposicions dels proveïdors
  de Cloud computing. Les funcionalitats oferides poden portar
  contraprestacions importants.

• Segur que algú altre ho ha fet: Molts cops, no cal inventar rodes. Ja hi ha
  gent que s’hi ha trobat.

• La originalitat té premi: De vegades, la solució passa per serveis,
  configuracions, etcètera, força insòlits.

• La dependència és clau: Mentre no apareguin estàndars pel Cloud
  computing que cubreixin les necessitats, la dependència del proveïdor és
  crítica.

• Provar-ho tot és impossible: Com no es poden provar sempre totes les
  configuracions, convé estar preparat per actuar àgilment.

• El sysadmin és, en part, un artista: Trobar el problema i la seva solució pot
  semblar, de tant en tant, més un art que una ciència.
Gràcies!!!

 Preguntes i comentaris...


    Per més informació:
           @ifosch
ignasi.fosch@careesma.com

Más contenido relacionado

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Clouds can cause rainy weather

  • 1. Clouds can cause rainy weather Problemes no documentats amb ELB
  • 2. Presentació • Treballo com a sysadmin a Intercom WorldWide. • Site de cerca de feina a AT, PL i IN. • Plataformes Open Source, tecnologies web 2.0, virtualització i Cloud computing. • El Cloud computing té moltes diferències amb les infrastructures habituals.
  • 3. Situació inicial • Instal·lació a Amazon AWS, utilitzant EC2 (amb EBS), ELB i RDS. • ELB balanceja peticions entre els frontals, que utilitzen l’RDS com a backend de dades. • Amazon obliga a utilitzar CNAME per la resolució. • La seva intenció és poder canviar la IP de l’ELB sense afectar als usuaris. • Com el DNS no permet CNAME als registres apex, cal fer cabrioles (HTTP Redirect).
  • 4. Problema • El problema apareix quan el client utilitza proxies DNS amb implementacions estrictes (Movistar). • Aquestes implementacions poden impedir la resolució de l’ELB, en no ser una resposta autoritativa. • El client, en els casos analitzats, no rep cap resposta completa (que resolgui una IP) i determina que el host no existeix. • Aquest comportament no està documentat als Fòrums d’Amazon.
  • 5. Solució • Vam provar diferents alternatives, com modificar el DNS para donar respostes autoritatives de forma dinàmica, fent consultes immediates a Amazon. • Observant altres sites amb configuració similar (com meneame.net), vam decidir provar Amazon Route53. • Vam provar amb un domini disponible, verificant tot el necessari. • Com és Amazon qui resol, la resposta sempre és autoritativa.
  • 6. Conclusions • El Cloud no és per tothom: Cal vigilar amb les imposicions dels proveïdors de Cloud computing. Les funcionalitats oferides poden portar contraprestacions importants. • Segur que algú altre ho ha fet: Molts cops, no cal inventar rodes. Ja hi ha gent que s’hi ha trobat. • La originalitat té premi: De vegades, la solució passa per serveis, configuracions, etcètera, força insòlits. • La dependència és clau: Mentre no apareguin estàndars pel Cloud computing que cubreixin les necessitats, la dependència del proveïdor és crítica. • Provar-ho tot és impossible: Com no es poden provar sempre totes les configuracions, convé estar preparat per actuar àgilment. • El sysadmin és, en part, un artista: Trobar el problema i la seva solució pot semblar, de tant en tant, més un art que una ciència.
  • 7. Gràcies!!! Preguntes i comentaris... Per més informació: @ifosch ignasi.fosch@careesma.com

Notas del editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n