Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7020751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:21:33+00:00 2026-05-27T23:21:33+00:00

I have a three-tier Windows-based web application bundled into 3 AMIs on Amazon EC2

  • 0

I have a three-tier Windows-based web application bundled into 3 AMIs on Amazon EC2 that I use for load testing.

  • An ASP.NET web application on IIS
  • An .NET application server
  • SQL Server

After I launch them, the config files of each tier needs modifying to update the IP addresses.

At the moment I am doing this manually: I connect to the webserver instance via remote desktop and modify the config file to point to the new IP of the application server instance. Then I do the same with the application server to change the IP in the connection string.

This must be a common requirement and I must be missing something obvious. There must be a better way!

  • I could use Elastic IP addresses, but these machines are only provisioned for a couple of hours at a time, and I would be charged for the addresses when they were NOT in use (which would be most of the time).

  • Is there some way of persistently naming the machines? Can I somehow get all the machines on the same network and use machine names instead of IP addresses?

  • I could write some nifty PowerShell script that would perform the modifications remotely. Is there an example somewhere?

  • I could use a dynamic IP address service. I’m not sure if this would have any negative effect on performance or availability… Are there any downsides to this approach?

  • I could install some sort of self-configuring service on each machine (which connects to S3? SNS? SimpleDB?) to publish/retrieve the addresses of the other machines and update the config files automatically. Is there an example somewhere?

What is best practice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:21:33+00:00Added an answer on May 27, 2026 at 11:21 pm

    You could use Amazon Virtual Private Cloud (Amazon VPC). You have a private subnet where you can assign an IP address to an instance, but it may require launching an instance from command line to assign IP. VPC is charged the same way as EC2.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a three tier web app that produces three separate dlls: Web.UI.dll Web.Application.dll
I have a three-tier Windows Forms DB application in VB.NET. I'm using VS 2005.
I have a classic 3-tier ASP.Net 3.5 web application with forms that display business
I have a three-tier application which is installed in corporate environments. With every server
I have inherited a conventional three tier web app with ASP.net 2.0 for the
We have a 3 tier application - winform based thick client, several WCF services
I have some questions about three tier architecture. how to implement an application in
I have a multi tier application in c# that is supposed to perform tasks
I have been developing applications that have a three-tier architecture and mostly using MVC
At work, we have a three-tier product. There is a client application which the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.