title: How to auto start web services when starting an Amazon EC2 instance?
body: <p>How do I set the <a href="/questions/tagged/httpd" class="post-tag" title="show questions tagged &#39;httpd&#39;" rel="tag">httpd</a> and <a href="/questions/tagged/mysqld" class="post-tag" title="show questions tagged &#39;mysqld&#39;" rel="tag">mysqld</a> services to start automatically upon booting an <a href="/questions/tagged/amazon-ec2" class="post-tag" title="show questions tagged &#39;amazon-ec2&#39;" rel="tag">amazon-ec2</a> instance?</p>
  
  <p>Currently I have to start them manually by connecting to the instance via ssh and running <code>sudo service httpd start</code> and <code>sudo service mysqld start</code>.</p>