title: Update all the AWS application instance java Property object when S3 bucket property file updated using REST call
body: <p><strong>Scenario</strong>:</p>
  <p>We have one application deployed in AWS in multiple EC2 instances. We have one property file in S3 bucket referred to in this application. We use this property file and store all data in Property object and used it throughout the application.</p>
  <p>When there is any update in S3 bucket property file we call REST endpoint to update java Property object but there is no guarantee by calling this REST endpoint for one time it will update Property object in all instances.</p>
  <p><strong>Question</strong>:  How to update this java Property object values in all EC2 instances when S3 bucket property file gets updated?</p>
  <pre><code> public static void load(){
      Properties props = new Properties();
      try{
          props = //code to get s3 bucket content
          
      }catch(Exception e){
          
          throw new ApplicationException(e);
      }
  }
  </code></pre>
  <p>This method is getting calling in our endpoint to load new properties.</p>