Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
a9156517
Commit
a9156517
authored
Feb 06, 2017
by
Ryan Baxter
Committed by
GitHub
Feb 06, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1670 from bijukunjummen/gh-1641
gh-1641: Fixed instructions for configuring EurekaIntanceConfig in AWS
parents
c87f6ca9
133d054f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spring-cloud-netflix.adoc
docs/src/main/asciidoc/spring-cloud-netflix.adoc
+3
-3
No files found.
docs/src/main/asciidoc/spring-cloud-netflix.adoc
View file @
a9156517
...
...
@@ -204,14 +204,14 @@ Depending on the way the security rules are set up in your Cloudfoundry instance
====
Using
Eureka
on
AWS
If
the
application
is
planned
to
be
deployed
to
an
AWS
cloud
,
then
the
Eureka
instance
will
have
to
be
configured
to
be
A
mazon
aware
and
this
can
be
done
by
customizing
the
{
github
-
code
}/
spring
-
cloud
-
netflix
-
eureka
-
client
/
src
/
main
/
java
/
org
/
springframework
/
cloud
/
netflix
/
eureka
/
EurekaInstanceConfigBean
.
java
[
EurekaInstanceConfigBean
]
the
following
way
:
If
the
application
is
planned
to
be
deployed
to
an
AWS
cloud
,
then
the
Eureka
instance
will
have
to
be
configured
to
be
A
WS
aware
and
this
can
be
done
by
customizing
the
{
github
-
code
}/
spring
-
cloud
-
netflix
-
eureka
-
client
/
src
/
main
/
java
/
org
/
springframework
/
cloud
/
netflix
/
eureka
/
EurekaInstanceConfigBean
.
java
[
EurekaInstanceConfigBean
]
the
following
way
:
[
source
,
java
,
indent
=
0
]
----
@
Bean
@
Profile
(
"!default"
)
public
EurekaInstanceConfigBean
eurekaInstanceConfig
()
{
EurekaInstanceConfigBean
b
=
new
EurekaInstanceConfigBean
();
public
EurekaInstanceConfigBean
eurekaInstanceConfig
(
InetUtils
inetUtils
)
{
EurekaInstanceConfigBean
b
=
new
EurekaInstanceConfigBean
(
inetUtils
);
AmazonInfo
info
=
AmazonInfo
.
Builder
.
newBuilder
().
autoBuild
(
"eureka"
);
b
.
setDataCenterInfo
(
info
);
return
b
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment