Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,774,256 members, 6,607,698 topics. Date: Monday, 29 November 2021 at 12:47 AM

Infrastructure Design Challenge - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Infrastructure Design Challenge (225 Views)

Cloud Infrastructure Engineer: Any Prospect In Nigeria? / Programmer Needed In An IT INFRASTRUCTURE COMPANY (2) (3) (4)

(1) (Reply) (Go Down)

Infrastructure Design Challenge by cixak95211: 11:33pm On Feb 25
So I wanted to paste this in the existing DSA Q & A thread but it would be out of context since this is more geared towards a design problem.

So you've been hired by company XYZ hosting service on xyz.com and this is the challenge. Their customers want to attach their own domain names since it's a multitenant app. So instead of going to xyz.com as a premium customer, I can go to my own domain name e.g. abc.de or better still customer1.abc.de and I should still access the service. Company XYZ is already running a microservice, frontend and backend, both exposed to the internet. With your decision, they are willing to alter the infrastructure to a greater degree.

Your solution should try as much to keep costs [Big O and monetary] within a minimal limit when deployed and progressively should be scalable to an infinite amount of customers' domains.

Bonus points if you show a solution that doesn't work, or works but is not scalable, or works but is very expensive.
There's a 90% chance you will mostly come across this problem in everyday life.

Spambot, kindly spare this post.

1 Like

Re: Infrastructure Design Challenge by Sulele04(m): 1:52am On Feb 26
I need to learn faster and work harder, Everything you wrote up there looks like spanish to me ffs.

2 Likes

Re: Infrastructure Design Challenge by cixak95211: 5:23am On Feb 26
Sulele04:
I need to learn faster and work harder, Everything you wrote up there looks like spanish to me ffs.

Give it your best shot, it doesn't matter if you feel you're wrong. How would you know your answer is wrong unless you try first, right?

1 Like

Re: Infrastructure Design Challenge by samueltoski: 12:30am On Feb 27
This can be easily solved by routing/redirects on the ABC.com to xyz ip.. if abc.com is hosting something important already all it can do is create a subdomain AAA.abc.com and point it to the ip of xyz.com.
U can easily use Amazon ec2 to host xyz, get an elastic Ip and your client domain can be configured to point to that domain.

1 Like

Re: Infrastructure Design Challenge by niel63(m): 9:17am On Feb 27
samueltoski:
This can be easily solved by routing/redirects on the ABC.com to xyz ip.. if abc.com is hosting something important already all it can do is create a subdomain AAA.abc.com and point it to the ip of xyz.com.
U can easily use Amazon ec2 to host xyz, get an elastic Ip and your client domain can be configured to point to that domain.

I'd have given a similar answer to this honestly or using domain aliases, configuring your dns to point to a wildcard subdomain. *.example.com

You might still need to do some server configuration so the subdomains can point to the appropriate document root.

Probably wrong but like he said, it doesn't really matter.

(1) (Reply)

Teacher And Mentor On Python / Java Developers Wanted / Complex Mobile Wallet And Mining Functioning Apps Needed

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2021 Oluwaseun Osewa. All rights reserved. See How To Advertise. 36
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.