# How to assess the ES resource cost before migrating to it

**URL:** https://discuss.elastic.co/t/how-to-assess-the-es-resource-cost-before-migrating-to-it/353780
**Category:** Elastic Search
**Tags:** painless, elastic-app-search
**Created:** [February 21, 2024, 10:50am UTC](https://discuss.elastic.co/t/how-to-assess-the-es-resource-cost-before-migrating-to-it/353780 "2024-02-21T10:50:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dusty-cjh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dusty-cjh/32/131965_2.png) [@dusty-cjh](https://discuss.elastic.co/u/dusty-cjh)
#### Post date: [February 21, 2024, 10:50am UTC](https://discuss.elastic.co/t/how-to-assess-the-es-resource-cost-before-migrating-to-it/353780/1 "2024-02-21T10:50:02Z")

</div>

we are considering migrating around 200 million customer info into ES, but before doing it, I need to assess the ES hardware resource requirement to leverage the cost and profit.

The use case of these data is to filter specific groups of people to put proper ADs.

I would like to know how can I assess the resource cost based on the amount, data format and use case.

Here is a desensitized data example:

```json
        user = {
            'customer_id': 345467546354231,
            'name': 'fhie4wg84',
            'phones': [],
            'shence_ids': [],
            'certificate_id': 'dc2fcff94e19b8aa9e68d025b103bb5cae2beda5922b62192c6707cf4e820c64',
            'sha256_certificate_id': '35ac7b131f811a65da3bb17779a22e670be7dfac3c2952635c9d2a3f7a894228',
            'open_ids': [],
            'gender': '男',
            'location': '',
            'birthday': '2033-01-04',
            'family_num': 0,
            'reach_types': [],
            'action_types': [
                '保-投保'
            ],
            'insurance_names': [
                '市民保2022',
                '市民保2023',
                '市民保2021',
                '市民保2020',
                '市民保·自费无忧·新2022'
            ],
            'actions': [
                {
                    'action_id': 13545849,
                    'action_type': '-投保',
                    'insurance_name': '·新2022',
                    'insurance_types': [
                        '市民保·自忧-99元'
                    ],
                    'insurance_num': 1,
                    'insurance_status': [
                        '已投保'
                    ],
                    'role_types': [
                        '被保人'
                    ],
                    'event_time': '2022-12-23 20:46:49',
                    'group_name': '科技'
                },
                {
                    'action_id': 15170198,
                    'action_type': '保-投保',
                    'insurance_name': '市民保2022',
                    'insurance_types': [
                        '市民保2022版-59元'
                    ],
                    'insurance_num': 1,
                    'insurance_status': [
                        '已投保'
                    ],
                    'role_types': [
                        '被保人'
                    ],
                    'event_time': '2022-12-23 20:39:19',
                    'group_name': '科技'
                },
                {
                    'action_id': 19641846,
                    'action_type': '保-投保',
                    'insurance_name': '市民保2020',
                    'insurance_types': [
                        '市民保2020-59元'
                    ],
                    'insurance_num': 1,
                    'insurance_status': [
                        '已投保'
                    ],
                    'role_types': [
                        '投保人'
                    ],
                    'is_family': '否'
                },
                {
                    'action_id': 17673559,
                    'action_type': '保-投保',
                    'insurance_name': '市民保2021',
                    'insurance_types': [
                        '市民保2021-59元'
                    ],
                    'insurance_num': 1,
                    'insurance_status': [
                        '已投保'
                    ],
                    'role_types': [
                        '被保人'
                    ],
                    'event_time': '2021-11-15 19:05:37'
                },
                {
                    'action_id': 45058297,
                    'action_type': '保-投保',
                    'insurance_name': '市民保2023',
                    'insurance_types': [
                        '市民保升级版-69元'
                    ],
                    'insurance_num': 1,
                    'insurance_status': [
                        '已投保'
                    ],
                    'role_types': [
                        '被保人'
                    ],
                    'event_time': '2023-11-09 08:01:50',
                    'is_contract': '否',
                    'group_name': '科技'
                }
            ],
            'wechats': ['349t8r5gh'],
            'sha256_phones': []
        }

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 20, 2024, 10:50am UTC](https://discuss.elastic.co/t/how-to-assess-the-es-resource-cost-before-migrating-to-it/353780/2 "2024-03-20T10:50:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
