lloyd / mozilla-idp

Persona support for mozilla.{org,com} email addresses. An LDAP <-> Persona IdP bridge!
2 stars 2 forks source link

How will we deploy? #3

Closed lloyd closed 11 years ago

lloyd commented 11 years ago

Awsboxen might work really well. Suggest:

2 US regions (east/west coast), 1 european region. 2 m1.small per region, 1 ELB, and autoscaling, because it's easy.

How will we generate AMIs from code? What exactly will cloudinit do to hydrate? (if we use awsbox, this is simply to populate /home/app/config.json)

mostlygeek commented 11 years ago

A few things (just brain dumping) mostly questions.

lloyd commented 11 years ago

I'd like to start with encrypted link with ldap over LAN. It's safer and easier. The concerns others have are around HA. I have ideas here.

Really attached to multi region, here's why.

  1. This server is stateless, and crazy simple. Zero server to server traffic inter region.
  2. Multi region is higher availability.
  3. Lower latency for mozillians everywhere
  4. Costs virtually nothing.
  5. Mitigates (perceived) fragility of ldap over wan.

Agree, Screw auto scaling. We could handle all the traffic on an m1.small. Only reason for multiple instances is HA.

lloyd commented 11 years ago

5 stars (obviously)

mostlygeek commented 11 years ago

You mean LDAP over encrypted WAN (like public internet) connection?

For multi-region

Notes on performance / latency

Fragility of LDAP over WAN

lloyd commented 11 years ago

You mean LDAP over encrypted WAN (like public internet) connection?

yeah!

let's test w/ real people to see if they think it is a) too slow, b) acceptable

hell yeah!

Fragility of LDAP over WAN

in the meeting we had with all interested parties at mozilla, several people were uncomfortable with LDAP over WAN and wanted to optimize this without trying it first. I think we should first deploy with LDAP over LAN and turn on monitoring and only optimize if there is a problem (link falls down, or latency is unbearably high).

lloyd commented 11 years ago

moving conversation to mozilla/vinz-clortho#16