Microsoft and Walgreens are joining forces to take on Amazon in the healthcare market.

The two companies announced their partnership Tuesday. Microsoft will become Walgreen’s new cloud provider.

The two companies said the partnership will help Walgreen gain personalized date about their customer’s health.

That will allow pharmacists to give better wellness solutions. The companies will also work toward lowering health care costs.

The joint venture appears to be a clear attempt to counter Amazon’s growing clout in health care.