Question: I want to showing keywoard search in Search Page. I dont know why my code it didnt showing. While i call may code, its showing a keyword title my website.

And showing total the search result

I'm using a Codeigniter Framework.

This my Controller

```
public function search(){
            $this->output->set_header('Last-Modified:'.gmdate('D, d M Y H:i:s').'GMT');
            $this->output->set_header('Cache-Control: no-cache, must-revalidate');
            $this->output->set_header('Cache-Control: post-check=0, pre-check=0',false);
            $this->output->set_header('Pragma: no-cache');

            $keyword = $this->input->get('keyword');
            $data['search_data']=$this->Product_model->get_product_keyword($keyword);
            $this->load->view('frontend/search_view',$data);
        }

```

This My Search\_View

```
<?php
  header('Cache-Control: no cache');
  session_cache_limiter('private_no_expire');; 
  echo form_open('search', array('method'=>'get')); ?>
    <input type="text" name="keyword" placeholder="search">
    <input type="submit" name="search_submit" value="Cari">
  <?php echo form_close() ?>

  <table>
  <h2>Search Result <?php echo $keyword['keyword']; ?>, **(9999)** Results
     <br>
  </h2 >
      <?php foreach($search_data as $men); { ?>
        <tr>
          <?php echo form_open('dashboard/beli');?>
          <td><?php echo ($men->name); ?></td>
          <?php echo form_close(); ?>
        </tr>
      <?php } ?>

  </table>

```

Answer: 
When creating an ECS cluster on AWS, [you will be provided with an option to choose spot instances](https://aws.amazon.com/ec2/spot/containers-for-less/get-started/). 

As far as I know, this can't be changed.

As you can see in the above mentioned documentation, AWS ECS will indeed handle the buying of the spot instances according to your autoscaling settings.

Spot instances can be terminated at any time. This means that your application will cease to run and will be restarted on a different machine. That's why it is advised to put redundancy on your application.
A new Capacity Provider can be created with the desired Spot settings and associated with the existing Cluster