1 Comments

Recently we’ve started to using Octopus deploy in an AWS EC2 environment.  The challenge we are having is automatic tentacle registration on Auto Scale.  After a couple of hours, we’ve found the solution.   Noticed some people are asking the same questions on Octopus deploy support portal .  But didn’t give a clear solution, therefore I decided to share founds we had.

 

The solution we are having is to install and register the tentacle with commend line.

Step 1 Install tentacle

image

Step 2 configure tentacle

image

Step 3 octo promote-release

image

Hopefully, this is helpful.

0 Comments
Setup Octopus

The example contains two processes:
1. Deploy
2. Send email

Follow the settings below for your Deploy process

Settings
Value
Comment
Step NameDeploy Git-Test To Develop
Targets / Machine rolesiis7 iis8
Package / NuGet feedOctopus Server(built-in)
Package / NuGet package IDGit-Test.Dev

Custom install directory

#{Server.webroot}\#{Server.sitename.develop}i.e e:\www\demo\
Configuration variablesReplace appSettings and connectionString entries in any.config files
Configuration transforms / XML transformsAutomatically run configuration transformation files
Configuration transforms / Additional transforms#{Octopus.Environment.Name}.config
IIS WebSite / Web SiteCreate or update an IIS Web Site and Application Pool
IIS WebSite / Web Site Name#{Server.sitename.develop}(Site name in IIS) i.e. demo.dev.localhost
IIS WebSite / Relative home directory#{Server.webroot}\#{Server.sitename.develop}Website folder
IIS Application Pool/ Application Pool Name#{Server.sitename.develop}i.e. demo.dev.localhost
IIS Application Pool/ .NET CLR versionv4.0
IIS Application Pool/ IdentityNetwork Service
IIS Bindings
  • Protocol: http
  • Port: 80
  • Host: #{Server.binging.develop}
i.e. demo.dev.localhost
IIS AuthenticationEnable Anonymous authentication
Environmentsdevelop.localdev

Variables
Name
Value
Email.Notificationswalle.z.yuan@gmail.com
Server.binding.developgit-test.dev.localhost
Server.sitename.developgit-test.dev.localhost
Server.webroote:\demo\git-test