Connecting to Apache web Server in Auto Scaling groupDifference between the Apache HTTP Server and Apache Tomcat?Using node.js as a simple web serverConnection between auto scaling and ELBHow to open a web server port on EC2 instancePermission denied (publickey) when SSH Access to Amazon EC2 instanceHow to use auto scaling with ansible and already existed ec2AWS: Security Group Auto ScaleOpsWorks load-based instance vs auto scaling group?AWS auto-scaling group AMIAWS auto scaling targets in target groups for Network Load Balancers

Implementation of the Jacobi Symbol in C

Can a character learn spells from someone else's spellbook and then sell it?

「捨ててしまう」why is there two て’s used here?

Why is it easier to balance a non-moving bike standing up than sitting down?

In Street Fighter, what does the M stand for in M Bison?

How to make all magic-casting innate, but still rare?

In the US, can a former president run again?

Synaptic Static - when to roll the d6?

Where does the subject go when asking a question with ir + a + infinitive?

How are で and いう being used in this context?

Can the pre-order traversal of two different trees be the same even though they are different?

60's (or earlier) sci-fi short story about two spacecrafts exchanging plants for gold and thinking they got the better of the exchange

What does it cost to buy a tavern?

How to take photos with a yellowish tone and point-and-shoot film camera look?

Am I legally required to provide a (GPL licensed) source code even after a project is abandoned?

S&P 500 Index Value

The Amazing Sliding Crossword

How did Frodo know where the Bree village was?

I found a password with hashcat but it doesn't work

How can I prevent a user from copying files on another hard drive?

Why things float in space, though there is always gravity of our star is present

Bent arrow under a node

Make symbols atomic, without losing their type

Setting up the trap



Connecting to Apache web Server in Auto Scaling group


Difference between the Apache HTTP Server and Apache Tomcat?Using node.js as a simple web serverConnection between auto scaling and ELBHow to open a web server port on EC2 instancePermission denied (publickey) when SSH Access to Amazon EC2 instanceHow to use auto scaling with ansible and already existed ec2AWS: Security Group Auto ScaleOpsWorks load-based instance vs auto scaling group?AWS auto-scaling group AMIAWS auto scaling targets in target groups for Network Load Balancers






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















Deploying Apache web Server via AWS - Which EC2 instance should I connect to after creating Auto-Scaling group?



I am trying to install Apache Web server in Multi Availability. I need to test the server by implementing a simple html file and having it display as a webpage. This is my first time using more than one EC2 instance for an application, and I am an AWS Console/CLI beginner.



I have created a security group, an autoscaling group that has created 2 EC2 instances, and an ALB. I also created a new key pair for CLI use.
I am also configuring a Record Set to access the html page using a link.



I know how to use the ssh ec2-user@ command to configure the web sever using one EC2 instance, but have two instances in my case. I have no idea how to ssh to the EC2 instances (is there a way to connect to both EC2 instances, or to the autoscaling group)? How does it work for multiple EC2 instances accessing the same html code?










share|improve this question
























  • StackOverflow is a site for answering programming questions. You might get a better response from sites like ServerFault.

    – John Rotenstein
    Mar 25 at 6:11











  • You have way too many questions! Let's start with getting SSH working for you. Would you know whether your EC2 instances are in a public subnet? How is the Security Group configured for your instances? Feel free to Edit your question to add more details.

    – John Rotenstein
    Mar 25 at 6:13











  • @JohnRotenstein Thank you, and sorry for the multiple questions. I figured out how to fix this issue on my own after some trial and error. Thanks for your advice!

    – codingbeginner123
    Apr 1 at 19:27











  • In that case, feel free to delete this question if it does not contain anything useful for future readers.

    – John Rotenstein
    Apr 1 at 20:26

















0















Deploying Apache web Server via AWS - Which EC2 instance should I connect to after creating Auto-Scaling group?



I am trying to install Apache Web server in Multi Availability. I need to test the server by implementing a simple html file and having it display as a webpage. This is my first time using more than one EC2 instance for an application, and I am an AWS Console/CLI beginner.



I have created a security group, an autoscaling group that has created 2 EC2 instances, and an ALB. I also created a new key pair for CLI use.
I am also configuring a Record Set to access the html page using a link.



I know how to use the ssh ec2-user@ command to configure the web sever using one EC2 instance, but have two instances in my case. I have no idea how to ssh to the EC2 instances (is there a way to connect to both EC2 instances, or to the autoscaling group)? How does it work for multiple EC2 instances accessing the same html code?










share|improve this question
























  • StackOverflow is a site for answering programming questions. You might get a better response from sites like ServerFault.

    – John Rotenstein
    Mar 25 at 6:11











  • You have way too many questions! Let's start with getting SSH working for you. Would you know whether your EC2 instances are in a public subnet? How is the Security Group configured for your instances? Feel free to Edit your question to add more details.

    – John Rotenstein
    Mar 25 at 6:13











  • @JohnRotenstein Thank you, and sorry for the multiple questions. I figured out how to fix this issue on my own after some trial and error. Thanks for your advice!

    – codingbeginner123
    Apr 1 at 19:27











  • In that case, feel free to delete this question if it does not contain anything useful for future readers.

    – John Rotenstein
    Apr 1 at 20:26













0












0








0








Deploying Apache web Server via AWS - Which EC2 instance should I connect to after creating Auto-Scaling group?



I am trying to install Apache Web server in Multi Availability. I need to test the server by implementing a simple html file and having it display as a webpage. This is my first time using more than one EC2 instance for an application, and I am an AWS Console/CLI beginner.



I have created a security group, an autoscaling group that has created 2 EC2 instances, and an ALB. I also created a new key pair for CLI use.
I am also configuring a Record Set to access the html page using a link.



I know how to use the ssh ec2-user@ command to configure the web sever using one EC2 instance, but have two instances in my case. I have no idea how to ssh to the EC2 instances (is there a way to connect to both EC2 instances, or to the autoscaling group)? How does it work for multiple EC2 instances accessing the same html code?










share|improve this question
















Deploying Apache web Server via AWS - Which EC2 instance should I connect to after creating Auto-Scaling group?



I am trying to install Apache Web server in Multi Availability. I need to test the server by implementing a simple html file and having it display as a webpage. This is my first time using more than one EC2 instance for an application, and I am an AWS Console/CLI beginner.



I have created a security group, an autoscaling group that has created 2 EC2 instances, and an ALB. I also created a new key pair for CLI use.
I am also configuring a Record Set to access the html page using a link.



I know how to use the ssh ec2-user@ command to configure the web sever using one EC2 instance, but have two instances in my case. I have no idea how to ssh to the EC2 instances (is there a way to connect to both EC2 instances, or to the autoscaling group)? How does it work for multiple EC2 instances accessing the same html code?







amazon-web-services amazon-ec2 webserver autoscaling aws-application-load-balancer






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 25 at 6:17







codingbeginner123

















asked Mar 25 at 5:40









codingbeginner123codingbeginner123

103




103












  • StackOverflow is a site for answering programming questions. You might get a better response from sites like ServerFault.

    – John Rotenstein
    Mar 25 at 6:11











  • You have way too many questions! Let's start with getting SSH working for you. Would you know whether your EC2 instances are in a public subnet? How is the Security Group configured for your instances? Feel free to Edit your question to add more details.

    – John Rotenstein
    Mar 25 at 6:13











  • @JohnRotenstein Thank you, and sorry for the multiple questions. I figured out how to fix this issue on my own after some trial and error. Thanks for your advice!

    – codingbeginner123
    Apr 1 at 19:27











  • In that case, feel free to delete this question if it does not contain anything useful for future readers.

    – John Rotenstein
    Apr 1 at 20:26

















  • StackOverflow is a site for answering programming questions. You might get a better response from sites like ServerFault.

    – John Rotenstein
    Mar 25 at 6:11











  • You have way too many questions! Let's start with getting SSH working for you. Would you know whether your EC2 instances are in a public subnet? How is the Security Group configured for your instances? Feel free to Edit your question to add more details.

    – John Rotenstein
    Mar 25 at 6:13











  • @JohnRotenstein Thank you, and sorry for the multiple questions. I figured out how to fix this issue on my own after some trial and error. Thanks for your advice!

    – codingbeginner123
    Apr 1 at 19:27











  • In that case, feel free to delete this question if it does not contain anything useful for future readers.

    – John Rotenstein
    Apr 1 at 20:26
















StackOverflow is a site for answering programming questions. You might get a better response from sites like ServerFault.

– John Rotenstein
Mar 25 at 6:11





StackOverflow is a site for answering programming questions. You might get a better response from sites like ServerFault.

– John Rotenstein
Mar 25 at 6:11













You have way too many questions! Let's start with getting SSH working for you. Would you know whether your EC2 instances are in a public subnet? How is the Security Group configured for your instances? Feel free to Edit your question to add more details.

– John Rotenstein
Mar 25 at 6:13





You have way too many questions! Let's start with getting SSH working for you. Would you know whether your EC2 instances are in a public subnet? How is the Security Group configured for your instances? Feel free to Edit your question to add more details.

– John Rotenstein
Mar 25 at 6:13













@JohnRotenstein Thank you, and sorry for the multiple questions. I figured out how to fix this issue on my own after some trial and error. Thanks for your advice!

– codingbeginner123
Apr 1 at 19:27





@JohnRotenstein Thank you, and sorry for the multiple questions. I figured out how to fix this issue on my own after some trial and error. Thanks for your advice!

– codingbeginner123
Apr 1 at 19:27













In that case, feel free to delete this question if it does not contain anything useful for future readers.

– John Rotenstein
Apr 1 at 20:26





In that case, feel free to delete this question if it does not contain anything useful for future readers.

– John Rotenstein
Apr 1 at 20:26












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55331806%2fconnecting-to-apache-web-server-in-auto-scaling-group%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55331806%2fconnecting-to-apache-web-server-in-auto-scaling-group%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript