Usage of rightscale init script in it's EC2 Centos 5.4 AMI?

In order for RightScale to properly manage instances in ec2 they use a ruby based daemon called RightLink as a communication device between their core platform and each instance that is launched. The init scripts that you saw are required for the instance to self configure itself to the point where it can be managed by RightScale properly.

In order for RightScale to properly manage instances in ec2 they use a ruby based daemon called RightLink as a communication device between their core platform and each instance that is launched. The init scripts that you saw are required for the instance to self configure itself to the point where it can be managed by RightScale properly. /etc/init.

D/rightimage is the first script that is run. Essentially it just determines the OS, arch version, and installs the correct RightLink package from the S3 bucket. Afterwards it kicks off the /opt/rightscale/bin/post_install.

Sh script which uses the OS init control tools to register the startup scripts to be invoked on future boots of the OS; this ensures that RightLink will always be started. /etc/init. D/rightscale is the next script that is run.It initializes RightScale-specific (but not RightLink-specific) system state.

It is responsible for caching launch settings (aka userdata) and metadata in /var/spool and installing any available patches to the RightLink agent. /etc/init. D/rightlink is the final script that is run.

It configures and enrolls the RightLink agent idempotently. If configuration and enrollment succeed, rightlink starts the sandboxed monit which starts the persistent agent process. If you're not launching the AMI using the RightScale platform this will never properly enroll because they aren't expecting it to, as such RightScale will have no communication with the instance at all.

Removing all three of these from the image shouldn't in any way harm the overall stability of the image, but from a security standpoint they shouldn't cause any problems if they are present. If you have any further specific questions about it I'd suggest hopping on their forums at https://forums.rightscale.Com/ You could also try #rightscale on freenode.

Thanks! Appreciated so much for the answer! Can I also delete /etc/rightscale.

D and /home/ec2 and /home/s3sync and the user 'rightscale' from the system? – user567761 Jan 15 at 9:30.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions